• Hello,

    can someone tell me how to set the parameters to use this function in my functions.php.

    add_filter (next_post_link, my_new_post_link)
    add_filter (previous_post_link, my_new_post_link)
    
    function my_new_post_link($args){
    
    PARAMETER: in_same_cat = true; ???
    
    return $args;
    }

    Hope to get some help,
    Cheers,
    Denis

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