[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 313 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Twenty_Fourteen_Ephemera_Widget:: (5 methods):
__construct()
enqueue_scripts()
widget()
update()
form()
Class: Twenty_Fourteen_Ephemera_Widget - X-Ref
Custom Widget for displaying specific post formats__construct() X-Ref |
Constructor. return: Twenty_Fourteen_Ephemera_Widget since: Twenty Fourteen 1.0 |
enqueue_scripts() X-Ref |
Enqueue scripts. since: Twenty Fourteen 1.7 |
widget( $args, $instance ) X-Ref |
Output the HTML for this widget. param: array $args An array of standard parameters for widgets in this theme. param: array $instance An array of settings for this widget instance. since: Twenty Fourteen 1.0 |
update( $new_instance, $old_instance ) X-Ref |
Deal with the settings when they are saved by the admin. Here is where any validation should happen. param: array $new_instance New widget instance. param: array $old_instance Original widget instance. return: array Updated widget instance. since: Twenty Fourteen 1.0 since: Twenty Fourteen 3.3 Renamed `$instance` to `$old_instance` to match |
form( $instance ) X-Ref |
Display the form for this widget on the Widgets page of the Admin area. param: array $instance since: Twenty Fourteen 1.0 |
Generated: Sun Dec 22 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |