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 ) :
// if ( $taxonomy != 'highlight' && $term->slug != 'subscribe-win' ) :
return $url;
else :
$url = home_url( '/win' );
return $url;
endif;
}