Re: the question on WP_Customize_Image_Control, it sends the image URL to the setting by default. You can use WP_Customize_Media_Control to get the attachment id instead, which allows more extensive handling.
In this presentation learn just how easy it is to integrate the WordPress customizer into your themes. Also explore ways to extend the customizer to make it do more than what’s available out of the box.
June 27, 2015 at 8:54 pm |
Re: the question on WP_Customize_Image_Control, it sends the image URL to the setting by default. You can use WP_Customize_Media_Control to get the attachment id instead, which allows more extensive handling.
LikeLike