[ Index ]

PHP Cross Reference of WordPress




/wp-admin/includes/ -> class-custom-background.php (summary)

The custom background script.

File Size: 625 lines (21 kb)
Included or required:0 times
Referenced: 2 times
Includes or requires: 0 files

Defines 1 class

Custom_Background:: (10 methods):

Class: Custom_Background  - X-Ref

The custom background class.

__construct( $admin_header_callback = '', $admin_image_div_callback = '' )   X-Ref
Constructor - Register administration header callback.

since: 3.0.0
param: callable $admin_header_callback
param: callable $admin_image_div_callback Optional custom image div output callback.

init()   X-Ref
Set up the hooks for the Custom Background admin page.

since: 3.0.0

admin_load()   X-Ref
Set up the enqueue for the CSS & JavaScript files.

since: 3.0.0

take_action()   X-Ref
Execute custom background modification.

since: 3.0.0

admin_page()   X-Ref
Display the custom background page.

since: 3.0.0

handle_upload()   X-Ref
Handle an Image upload for the background image.

since: 3.0.0

ajax_background_add()   X-Ref
Ajax handler for adding custom background context to an attachment.

Triggers when the user adds a new background image from the
Media Manager.

since: 4.1.0

attachment_fields_to_edit( $form_fields )   X-Ref

return: array $form_fields
since: 3.4.0
param: array $form_fields

filter_upload_tabs( $tabs )   X-Ref

return: array $tabs
since: 3.4.0
param: array $tabs

wp_set_background_image()   X-Ref

since: 3.4.0

Generated: Mon Apr 15 01:00:02 2024 Cross-referenced by PHPXref 0.7.1