[ Index ]

WordPress Cross Reference

title

Body

[close]

/wp-content/themes/twentyfourteen/inc/ -> widgets.php (summary)

(no description)

File Size: 250 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Twenty_Fourteen_Ephemera_Widget:: (4 methods):
  __construct()
  widget()
  update()
  form()


Class: Twenty_Fourteen_Ephemera_Widget  - X-Ref

Custom Widget for displaying specific post formats

Displays posts from Aside, Quote, Video, Audio, Image, Gallery, and Link formats.

__construct()   X-Ref
Constructor.

return: Twenty_Fourteen_Ephemera_Widget

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.
return: void Echoes its output.

update( $new_instance, $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 $instance     Original widget instance.
return: array Updated widget instance.

form( $instance )   X-Ref
Display the form for this widget on the Widgets page of the Admin area.

param: array $instance
return: void



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