Ready to get started?Download WordPress


execute previous_post_link in an action function (1 post)

  1. aneeskA
    Posted 2 years ago #


    I need to add an action function so that I am able to execute the function 'previous_post_link" inside the hook function.

    Can anyone tell me which hook to use?

    NB : since previous_post_link can only be executed inside the_loop, I have this requirement

    Any pointer is highly appreciate.

Topic Closed

This topic has been closed to new replies.

About this Topic