[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

The custom background script.

File Size: 421 lines (16 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Custom_Background:: (9 methods):
  __construct()
  init()
  admin_load()
  take_action()
  admin_page()
  handle_upload()
  attachment_fields_to_edit()
  filter_upload_tabs()
  wp_set_background_image()


Class: Custom_Background  - X-Ref

The custom background class.

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

param: callback $admin_header_callback
param: callback $admin_image_div_callback Optional custom image div output callback.
return: Custom_Background

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


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


take_action()   X-Ref
Execute custom background modification.


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


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


attachment_fields_to_edit( $form_fields, $post )   X-Ref
No description

filter_upload_tabs( $tabs )   X-Ref
No description

wp_set_background_image()   X-Ref
No description



Generated: Fri May 25 03:56:23 2012 Hosted by follow the white rabbit.