Question about filter hooks $content
-
I’m confused about filter hooks
You pass in a value and you pass out a value
But, how do you know what value to pass in?AND: am I right in saying that you don’t need to actually pass in a value – since you are just using global variables??
Global variables: how do I know which one to use??
In plugins I’ve looked at, they use $content
What other global variables like $content are there?
If I was writing a plugin to change the_title for example, what global variable would I use?
Thanks!!
Omar
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Question about filter hooks $content’ is closed to new replies.