Skip to main content
edited title
Link
Greeso
  • 2.2k
  • 7
  • 32
  • 56

Equivallent to Saving return value from the_author_posts_link()

Source Link
Greeso
  • 2.2k
  • 7
  • 32
  • 56

Equivallent to the_author_posts_link()

As you know, in the loop, the_title() function displays (echos) the post title to the screen, and get_the_title() returns it (so it can be saved in a variable). The same is true for the pair get_the_post_thumbnail() and the_post_thumbnail().

Now, what is equivallent to the_author_posts_link()? I need to save that information rather than displaying it.