Untitled

mail@pastecode.io avatar
unknown
php
2 years ago
197 B
2
Indexable
Never
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 );