Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ( ! defined( 'ABSPATH') ) exit;
- add_action( 'admin_head', 'dokan_dashboard_hide_tab' );
- function dokan_dashboard_hide_tab() {
- if ( ! is_admin() ) return;
- ?>
- <style type="text/css">
- .dokan-dashboard .postbox:nth-child(2) {
- display: none;
- }
- </style>
- }
- // Add this snippet(without php starting tag) on the theme function.php file
Add Comment
Please, Sign In to add comment