return data from the post at the time of publication
-
I need to recover the text of the post, the title and URL when the text is published.
I use the filter:
add_filter(‘the_content’, ‘function’);
but this way I only get the text of the post, saying someone knows which filter or action that returns the title, content and URL of a post, or the ID of the post, when it is published?
- The topic ‘return data from the post at the time of publication’ is closed to new replies.