| [ XREF Home ] [ Index ] |
PHP Cross Reference of WordPress TrunkProvided by Yoast |
[Source view] [Print] [Project Stats]
The custom header image script.
| File Size: | 789 lines (24 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Custom_Image_Header:: (21 methods):
__construct()
init()
help()
step()
js_includes()
css_includes()
header_text()
take_action()
process_default_headers()
show_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.| __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_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_header_selector( $type = 'default' ) X-Ref |
| Display UI for selecting one of several default headers. Show the random image option if this theme has multiple header images. Random image option is on by default if no header has been set. |
| 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: Wed Jun 1 08:30:02 2011 |
Cross-referenced by PHPXref 0.7 Provided by Yoast and awesome WordPress Hosting |