[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

title

Body

[close]

/wp-includes/widgets/ -> class-wp-widget-categories.php (summary)

Widget API: WP_Widget_Categories class

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

Defines 1 class

WP_Widget_Categories:: (5 methods):
  __construct()
  widget()
  onCatChange()
  update()
  form()


Class: WP_Widget_Categories  - X-Ref

Core class used to implement a Categories widget.

__construct()   X-Ref
Sets up a new Categories widget instance.


widget( $args, $instance )   X-Ref
Outputs the content for the current Categories widget instance.

param: array $args     Display arguments including 'before_title', 'after_title',
param: array $instance Settings for the current Categories widget instance.

onCatChange()   X-Ref
No description

update( $new_instance, $old_instance )   X-Ref
Handles updating settings for the current Categories widget instance.

param: array $new_instance New settings for this instance as input by the user via
param: array $old_instance Old settings for this instance.
return: array Updated settings to save.

form( $instance )   X-Ref
Outputs the settings form for the Categories widget.

param: array $instance Current settings.



Generated: Thu Oct 17 08:20:02 2019 Cross-referenced by PHPXref 0.7