WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Filter category from Feed

[Resolved] Filter category from Feed

  • Does anybody know whether the following code still works well on 3.4.1 and is not deprecated?

    function fix_feed_link($args) {
    	return $args.'?cat=-55'; // add any valid feed args
    }
    add_filter('post_comments_feed_link', 'fix_feed_link',10,1);

    What does ,10,1 stands for? What does this code actually do?

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Filter category from Feed’ is closed to new replies.
Skip to toolbar