[ Index ]

WordPress Cross Reference

title

Body

[close]

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

The custom background script.

File Size: 427 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 )   X-Ref
Unused since 3.5.0.


filter_upload_tabs( $tabs )   X-Ref
Unused since 3.5.0.


wp_set_background_image()   X-Ref
No description



Generated: Tue Mar 25 01:41:18 2014 WordPress honlapkészítés: online1.hu