Hi, just 2 things: in the customizer field docs it says
Fields can be attached to WordPress theme customizer by hooking a callback function to
init
but the callback has to be hooked to the customize_register
action
And correct me if I'm wrong but I think you can't use the beans image field type (http://www.getbeans.io/documentation/field-types/#image) in the customizer, you'll have to use WP_Customize_Image_Control
Maybe this should be mentioned there.
Thanks, Timo
Hey Timo,
Thanks for the heads up, the documentation is now updated with customize_register
of init
for the customizer fields. You are correct that the image field isn't available in the customizer which we added a note for in the documentation too.
As you correctly stated, may use WP_Customize_Image_Control
field type for images. In fact, you can use any WP_Customize_{$type}
type.
Have fun,