Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Class Reference/WP Customize Upload Control


This class is used with the Theme Customization API to allow a user to upload a file on the Theme Customizer in WordPress 3.4 or newer.

	new WP_Customize_Upload_Control( 
		'label'      => __( 'Header Color', 'mytheme' ),
		'section'    => 'your_section_id',
		'settings'   => 'your_setting_id',
	) ) 

For more information on available Theme Customizer controls, see the codex entry for WP_Customize_Manager->add_control()

This page is marked as incomplete. You can help Codex by expanding it.