https://developer.wordpress.org/reference/hooks/customize_register/
Last updated 2 years ago
function wpdocs_deregister_section( $wp_customize ) { $wp_customize->remove_section( 'infinite-photography-reset-options' ); $wp_customize->remove_section( 'infinite-photography-imp-links' ); $wp_customize->remove_panel( 'infinite-photography-wc-panel' ); $wp_customize->remove_panel( 'infinite-photography-feature-panel' ); } add_action( 'customize_register', 'wpdocs_deregister_section', 999 ); === a ===