• Right now I have this really simple plugin which replaces certain external links with my own custom urls (using str_replace)

    How can I change the following..
    add_filter('the_content', 'LinkReplace');
    from applying the link replace from ALL links to only posts within certain categories.

  • The topic ‘add_filter to specific categories’ is closed to new replies.