remove_action from parent theme using child theme functions.php
Well, all I needed to fix the issue was to add the exact same priority to the remove_action and it worked pretty well, thanks to Sally CJ answer add_action( ‘wp_head’, ‘remove_site_hero_sections’); function remove_site_hero_sections() { global $theme_header_layout; remove_action(‘theme_site_header’, array($theme_header_layout, ‘site_hero_sections’), 9999); }