[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

Widget API: WP_Widget_Tag_Cloud class

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

Defines 1 class

WP_Widget_Tag_Cloud:: (5 methods):
  __construct()
  widget()
  update()
  form()
  _get_current_taxonomy()


Class: WP_Widget_Tag_Cloud  - X-Ref

Core class used to implement a Tag cloud widget.

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


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

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

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

return: array Settings to save or bool false to cancel saving.
param: array $new_instance New settings for this instance as input by the user via
param: array $old_instance Old settings for this instance.

form( $instance )   X-Ref
Outputs the Tag Cloud widget settings form.

param: array $instance Current settings.

_get_current_taxonomy( $instance )   X-Ref
Retrieves the taxonomy for the current Tag cloud widget instance.

return: string Name of the current taxonomy if set, otherwise 'post_tag'.
param: array $instance Current settings.



Generated : Sat Dec 21 08:20:01 2024 Cross-referenced by PHPXref