add customizer in wordpress
function your_php_code( $wp_customize ) {
$wp_customize->add_section( 'id_of_section', array(
'property1' => 'value1',
'property2' => 'value2',
) );
$wp_customize->add_setting( 'name_of_option', array(
'property1' => 'value1',
'property2' => 'value2',
) );
$wp_customize->add_control( 'name_of_option', array(
'section' => 'id_of_section',
'property2' => 'value2',
) );
}
add_action( 'customize_register', 'your_php_code' );