Hi @fouldsy99,
Yes, you can switch off the Author Box from the User > Edit Profile.
-
This reply was modified 4 years, 10 months ago by
Calin Vingan.
Yes, but the problem is is that author can then login to his profile and change it back
Yes, this is right. We don’t have a way to remove this option from the user profile.
How show for only certain user groups?
I don’t know if you can do this with the Starbox plugin.
You can do this with a hook like this:
add_action('template_redirect',function($content){
global $post;
if(isset($post->post_author) && class_exists('ABH_Classes_Tools')){
if(in_array($post->post_author,array(1,2,3,4))){
ABH_Classes_Tools::$options = array();
}
}
},PHP_INT_MAX);
where 1,2,3,4 are the author IDs
That would be too many IDs
If possible to set by user group or capability would be better