Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function remove_menu_items( $menu_items ) {
- foreach($menu_items as $menu_item => $value) {
- if($value == 'Invoices') {
- unset($menu_items[$menu_item ]);
- }
- }
- }
- add_filter( 'booknetic_menu_items', 'remove_menu_items', 30, 2 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement