Codex tools: Log in
Languages: English • 日本語 • (Add your language)
wp-includes/deprecated.php.
Use any of these functions instead.Contents |
Add callbacks for background image display.
The parameter $header_callback callback will be required to display the content for the 'wp_head' action. The parameter $admin_header_callback callback will be added to Custom_Background class and that will be added to the 'admin_menu' action.
After deprecation this function was replaced with the following: add_theme_support( 'custom-background' )
<?php add_custom_background( $header_callback, $admin_header_callback, $admin_image_div_callback ) ?>
add_custom_background() is located in wp-includes/theme.php.
Theme Support:
add_theme_support(),
remove_theme_support(),
current_theme_supports()
Features:
sidebar,
menus,
post-formats,
post-thumbnails,
custom-background,
custom-header,
automatic-feed-links,
content_width,
editor-style