How to create a custom control in customizer
I’ve solved the issue, it was because I called the class before creating it require_once ( dirname( __FILE__ ) . ‘/sections/contact.php’ ); require_once ( dirname( __FILE__ ) . ‘/controls/contact-form.php’ );