Efficient method to grab the_title() outside of the Loop
-
Is there a way to efficiently grab the_title(); outside of the Loop? i.e. making a function inside a plugin that will be global.
Because I know you can do this with permalink and ID … but there’s no defined function for getting a post’s title.
Any advice?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Efficient method to grab the_title() outside of the Loop’ is closed to new replies.