WordPress.org

Support

Support » Plugins and Hacks » AVH Extended Categories Widgets » [Plugin: AVH Extended Categories Widgets] Way to Remove Category Groups Metabox by Role?

[Plugin: AVH Extended Categories Widgets] Way to Remove Category Groups Metabox by Role?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author petervanderdoes

    @petervanderdoes

    No, sorry.

    Hi.

    I actually found a way:

    add_action( 'admin_menu', 'we_remove_avhcatgrp_metabox' );
    if( !current_user_can('administrator') ) {
    	function we_remove_avhcatgrp_metabox() {
    	remove_meta_box('avhec_catgroupdiv', 'post', 'normal');
    	}
    }

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: AVH Extended Categories Widgets] Way to Remove Category Groups Metabox by Role?’ is closed to new replies.
Skip to toolbar