Restrict SEOPress CSS file for logged users
-
Hey there,
SEOPress outputs a CSS file wp-seopress/assets/css/seopress-admin-bar.min.css for logged users when used with MemberPress plugin.
I think we should restrict it for subscribers and should be available for administrators and editors.
It would easily possible with the conditional tag in WordPress
if ( current_user_can('administrator') ) { return; }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Restrict SEOPress CSS file for logged users’ is closed to new replies.