add_filter(‘the_tags’ … does not work, please help!
-
I am using WordPress 2.5. I am having difficulty trying to add_filter the_tags. To illustrate, please look at the test code snippet below:
function add_info_the_tags($content) { echo "It Works!"; } add_filter('the_content', 'add_info_the_tags', 1); add_filter('the_title', 'add_info_the_tags', 1); add_filter('the_tags', 'add_info_the_tags', 1);
The first two add_filter worked fine (for ‘the_content’ and ‘the_title’) but the last one did not work (‘the_tags’).
Please help, thanks.
Jason
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘add_filter(‘the_tags’ … does not work, please help!’ is closed to new replies.