Adding theme support for a custom header image
I'm using add_theme_support( 'custom-header', $defaults );
to support custom header images in my theme. The $defaults
are described in the Custom Headers article
$defaults = array(
'default-image' = '',
'random-default' = false,
'width' = 0,
'height' = 0,
'flex-height' = false,
'flex-width' = false,
'default-text-color' = '',
'header-text' = true,
'uploads' = true,
'wp-head-callback' = '',
'admin-head-callback' = '',
'admin-preview-callback' = '',
);
There is no explanation in the Codex for the following. What do they mean?
- wp-head-callback
- admin-head-callback
- admin-preview-callback
Topic add-theme-support custom-header php Wordpress
Category Web