add_filter on Page or Post
-
Hi everyone
Today I use add_filter(‘the_content’, ‘myFunction’, 1) and it’s fine.
But… I need to be able to tell the plug-in to work on a Post or on a Page, and to be able to make the distinction. Or, the_content returns me everything (title included), and I can’t find the right filter in the API filter list.
Any idea?
Cheers
The topic ‘add_filter on Page or Post’ is closed to new replies.