Forums

How to access normal wp data in plugins (1 post)

  1. tixrus
    Member
    Posted 3 years ago #

    Hi I know this is very noobish. I've writen a plugin with options and the admin part works. Now when it does its trick I would like to incorproate some wordpress data, namely the title & URL of the current post and all the data on the current commenter. My function triggers on comment_post. I don't need to do anything to the data, just see it.
    I tried calling the function the_title() as documented and it's nothing, as was all the commenter data. I don't see how you get this data.

Topic Closed

This topic has been closed to new replies.

About this Topic