How to remove hamburger menu in the Bayleaf child theme?
-
I appreciate your help; I’m a newbie in this.
In “inc” folder constructor.php, i want to disable o remove this function “bayleaf_user_action_items()
” for remove hamburger menu in a child theme of the the Bayleaf.
This method did not work:if (!function_exists('bayleaf_user_action_items')) { function bayleaf_user_action_items() { // } }
This is a action hook?
add_action( 'bayleaf_inside_header', 'function_to_add' ); function function_to_add () { echo '<p>Done!</p>'; }
It works, but it does not remove the menu.
And this did not work either:
remove_action( 'bayleaf_inside_header', 'bayleaf_user_action_items' );
In documentation, this function “bayleaf_user_action_items“, is a wrapper functions.
Thank’s!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to remove hamburger menu in the Bayleaf child theme?’ is closed to new replies.