[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-admin/includes/ -> widgets.php (summary)

WordPress Widgets Administration API

File Size: 329 lines (11 kb)
Included or required: 4 times
Referenced: 0 times
Includes or requires: 0 files

Defines 7 functions

  wp_list_widgets()
  _sort_name_callback()
  wp_list_widget_controls()
  wp_list_widget_controls_dynamic_sidebar()
  next_widget_id_number()
  wp_widget_control()
  wp_widgets_access_body_class()

Functions
Functions that are not part of a class:

wp_list_widgets()   X-Ref
Display list of the available widgets.


_sort_name_callback( $a, $b )   X-Ref
Callback to sort array by a 'name' key.

param: array $a First array.
param: array $b Second array.
return: int

wp_list_widget_controls( $sidebar, $sidebar_name = '' )   X-Ref
Show the widgets and their settings for a sidebar.
Used in the admin widget config screen.

param: string $sidebar      Sidebar ID.
param: string $sidebar_name Optional. Sidebar name. Default empty.

wp_list_widget_controls_dynamic_sidebar( $params )   X-Ref
Retrieves the widget control arguments.

param: array $params
return: array

next_widget_id_number( $id_base )   X-Ref

param: string $id_base
return: int

wp_widget_control( $sidebar_args )   X-Ref
Meta widget used to display the control form for a widget.

Called from dynamic_sidebar().

param: array $sidebar_args
return: array

wp_widgets_access_body_class( $classes )   X-Ref

param: string $classes
return: string



Generated : Wed Dec 25 08:20:01 2024 Cross-referenced by PHPXref