Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function hide_po_metabox() {
- if ( current_user_can( 'manage_options' ) ) {
- echo '<style>
- #pyre_woocommerce_options {
- display: none !important;
- }
- </style>';
- }
- }
- add_action('admin_head', 'hide_po_metabox');
Add Comment
Please, Sign In to add comment