Function metabox_sample
From your theme, hook into this function like so: if ( defined( 'WP_DEBUG' ) ) add_action( 'admin_init', 'ski\metabox_sample' );
This function will add a new section to the page/post edit screens with examplesof each control. Note that doing this and clicking "Publish" will append these bogus settings to your database.
Parameters summary
mixed |
$wp_customize |