conditional hide filter
-
hello ,
/** * Filter to hide SEO SCcore */ add_filter( 'rank_math/show_score', '__return_false' );
I found this code on the rankmath filter-hooks page
is it possible to make it more flexible to choose which roles will be excluded or included? I would like for example
say that the admin and editor roles are not affected by the hidethank you`
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘conditional hide filter’ is closed to new replies.