Hi, everyone:
I’ve tried to remove the action ‘generate_construct_footer_widgets’ attached to ‘generate_footer’ action name so I can remove the widgets part. No matter What I do I’m not able to get it right, also tried setting priority number but nothing changes.
I know customizer does it, but that’s not what I’m after. Does anyone know how to remove those widgets?
Here’s my code in functions.php
add_action( 'after_setup_theme', 'remove_gp_parts' );
function remove_gp_parts {
remove_action( 'generate_footer', 'generate_construct_footer_widgets' );
}
Thanks in advance.