[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

Widget API: WP_Widget_Search class

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

Defines 1 class

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


Class: WP_Widget_Search  - X-Ref

Core class used to implement a Search widget.

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

since: 2.8.0

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

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

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

param: array $instance Current settings.
since: 2.8.0

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

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



Generated: Wed Dec 25 01:00:02 2024 Cross-referenced by PHPXref 0.7.1