[ Root ] [ Search ] [ Index ]

PHP Cross Reference of WordPress 3.0.1

Provided by Yoast

title

Body

[close]

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

The custom header image script.

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

Defines 1 class

Custom_Image_Header:: (21 methods):
  Custom_Image_Header()
  init()
  help()
  step()
  js_includes()
  css_includes()
  header_text()
  take_action()
  process_default_headers()
  show_default_header_selector()
  js()
  js_1()
  pickColor()
  toggle_text()
  js_2()
  onEndCrop()
  step_1()
  step_2()
  step_3()
  finished()
  admin_page()


Class: Custom_Image_Header  - X-Ref

The custom header image class.

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

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

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


help()   X-Ref
Adds contextual help.


step()   X-Ref
Get the current step.

return: int Current step

js_includes()   X-Ref
Set up the enqueue for the JavaScript files.


css_includes()   X-Ref
Set up the enqueue for the CSS files


header_text()   X-Ref
Check if header text is allowed


take_action()   X-Ref
Execute custom header modification.


process_default_headers()   X-Ref
Process the default headers


show_default_header_selector()   X-Ref
Display UI for selecting one of several default headers.


js()   X-Ref
Execute Javascript depending on step.


js_1()   X-Ref
Display Javascript based on Step 1 and 3.


pickColor(color)   X-Ref
No description

toggle_text(s)   X-Ref
No description

js_2()   X-Ref
Display Javascript based on Step 2.


onEndCrop( coords )   X-Ref
No description

step_1()   X-Ref
Display first step of custom header image page.


step_2()   X-Ref
Display second step of custom header image page.


step_3()   X-Ref
Display third step of custom header image page.


finished()   X-Ref
Display last step of custom header image page.


admin_page()   X-Ref
Display the page based on the current step.




Generated: Thu Oct 14 05:12:05 2010 Cross-referenced by PHPXref 0.7