Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function remove_custom_taxonomy()
- {
- global $user_ID;
- if ( ! current_user_can( 'manage_options' ) ) {
- remove_meta_box('cpt_franchize_taxdiv', 'cpt_franchize', 'side' );
- }
- }
- add_action( 'admin_menu', 'remove_custom_taxonomy' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement