Problem with “the_content_rss” hook
-
Hi,
I’m doing a test plugin using “the_content_rss” hook to filter the content of posts, but my function is never called.
If I use “the_content” or “the_title_rss”, it works. What’s the problem here?.
This is the code:
<?php /* Plugin Name: TestRSS Plugin URI: Description: Test plugin Version: 0.1 Date: Mar 31th, 2008 Author: Antonio Perez Author URI: */ function test_rss($text) { $text = "Hello world"; return $text; } add_filter('the_content_rss', 'test_rss'); ?>
Thanks in advance for your answer.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Problem with “the_content_rss” hook’ is closed to new replies.