term_link filter rewrite link only applying half of condition?
Thanks Lucas! I found this code as an example in several places … still interesting that the && doesn’t work … but this does 🙂 add_filter( ‘term_link’, ‘slick_term_to_page’, 10, 3 ); function slick_term_to_page( $url, $term, $taxonomy ) { if ( $term->term_id != 42 ) : // if ( $taxonomy != ‘highlight’ && $term->term_id != 42 … Read more