Advertisement
fauzanjeg

Remove Sub Menu Toggle || Twenty Twenty-One Theme

Sep 27th, 2021
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.28 KB | None | 0 0
  1. /* Remove Sub Menu Toggle || Twenty Twenty-One Theme */
  2. function remove_twenty_twenty_one_add_sub_menu_toggle() {
  3.     remove_filter('walker_nav_menu_start_el', 'twenty_twenty_one_add_sub_menu_toggle');
  4. }
  5. add_action('after_setup_theme', 'remove_twenty_twenty_one_add_sub_menu_toggle');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement