add_action( 'wpel_before_apply_link', function ( $link ) { global $post; // check if it belongs to gear category if(in_category(34), $post) { $link->set_ignore(); } }, 10 );