add_custom_background
- add_custom_background is deprecated since version 3.4.0!
Alternative: add_theme_support( \'custom-background\', $args )
add_custom_background ( $wp_head_callback = '', $admin_head_callback = '', $admin_preview_callback = '' )
Parameters:- (callable) wp_head_callback Call on the {@see 'wp_head'} action.
- (callable) admin_head_callback Call on custom background administration screen.
- (callable) admin_preview_callback Output a custom background image div on the custom background administration screen. Optional.
See:Defined at: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: 3.4.0
Description
Add callbacks for background image display.