add_custom_image_header [ WordPress Function ]
add_custom_image_header ( $wp_head_callback, $admin_head_callback, $admin_preview_callback = '' )
| Parameters: |
|
| See: | |
| Defined at: |
|
Soorgelijke functies: remove_custom_image_header, get_custom_header, add_custom_background, do_signup_header, add_comment_meta
Add callbacks for image header display.
Source
<?php
function add_custom_image_header( $wp_head_callback, $admin_head_callback, $admin_preview_callback = '' ) {
_deprecated_function( __FUNCTION__, '3.4', 'add_theme_support( \'custom-header\', $args )' );
$args = array(
'wp-head-callback' => $wp_head_callback,
'admin-head-callback' => $admin_head_callback,
);
if ( $admin_preview_callback )
$args['admin-preview-callback'] = $admin_preview_callback;
return add_theme_support( 'custom-header', $args );
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/add custom image header « WordPress Codex
This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions.
codex.wordpress.org - How to Enable Custom Header Images Panel in WordPress 3.0
Apr 15, 2010 ... @uses add_custom_image_header() To add support for a custom header. * @ uses register_default_headers() To register the default custom ...
www.wpbeginner.com - add_custom_image_header() WordPress function reference ...
add_custom_image_header(). Add callbacks for image header display. The parameter $header_callback callback will be required to display the content for the ...
queryposts.com - The Right Way to Remove the Custom Image Header in a - Intertwine
Jan 4, 2011 ... The add_custom_image_header function adds the css into the header ... Find the add_custom_image_header function, and make a note of the ...
intertwinesys.com