Author name – RSS Feed
-
Have used the below code in the child theme’s functions.php to disable author name in WordPress feeds. After running the same scan couple of times produces varying results that reveal the author name and that don’t. How can I ensure author name is disabled and/or not revealed?
function disable_rss_author( $display_name ) { if ( is_feed() ) { return ''; } return $display_name; } add_filter( 'the_author', 'disable_rss_author');
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Author name – RSS Feed’ is closed to new replies.