Core Class
View Source on Trac ↗
Core Class
Custom_Background
class Custom_Background
// Constructor: function Object() { [native code] } The custom background class.
Methods 10 methods
| Method / Return | Description |
|---|---|
| __construct() void | Constructor - Registers administration header callback.
Parameters: $admin_header_callback: mixed, $admin_image_div_callback: mixed |
| init() void | Sets up the hooks for the Custom Background admin page. |
| admin_load() void | Sets up the enqueue for the CSS & JavaScript files. |
| take_action() void | Executes custom background modification. |
| admin_page() void | Displays the custom background page. |
| handle_upload() void | Handles an Image upload for the background image. |
| ajax_background_add() void | Handles Ajax request for adding custom background context to an attachment. |
| attachment_fields_to_edit() array | No description available.
Parameters: $form_fields: mixed |
| filter_upload_tabs() array | No description available.
Parameters: $tabs: mixed |
| wp_set_background_image() void | No description available. |
Properties
| Property / Type | Description |
|---|---|
| $admin_header_callback mixed public | No description available. |
| $admin_image_div_callback mixed public | No description available. |
| $updated mixed public | No description available. |
Class Information
Since Version
3.0.0
Source File
wp-admin/includes/class-custom-background.php
Advertisement