Support » Plugins and Hacks » Obtain Post ID from within ‘the_content’ filter function

  • SolarDarkness

    (@solardarkness)


    Hi,
    I’m writing a plugin which needs to add some data to the end of a post, based on statistics generated by the comments. Is there any way to obtain a post’s ID from within the function called by ‘the_content’? There doesn’t appear to be a hook which passes an array of data about a post like there is with some of the comment hooks.

    Thanks for your time,

    Solar

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Obtain Post ID from within ‘the_content’ filter function’ is closed to new replies.