WPDev.one
Core Function
View Source on Trac ↗

add_custom_image_header()

add_custom_image_header( mixed $wp_head_callback, mixed $admin_head_callback, mixed $admin_preview_callback = '' )

Add callbacks for image header display.

Parameters 2 required

Name / Type Description
$wp_head_callback
callable

Call on the {@see 'wp_head'} action.

Required
$admin_head_callback
callable

Call on custom header administration screen.

Required
$admin_preview_callback
callable

Output a custom header image div on the custom header administration screen. Optional.

Return Value

(void)
No return value description available.

Function Information

Since Version
2.1.0
Source File
wp-includes/deprecated.php
Advertisement