[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

WordPress Widgets Administration API

File Size: 327 lines (11 kb)
Included or required:0 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.

since: 2.5.0

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

return: int
since: 3.1.0

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.

since: 2.5.0
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.

return: array
since: 2.5.0
param: array $params

next_widget_id_number( $id_base )   X-Ref

return: int
param: string $id_base

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

Called from dynamic_sidebar().

return: array
since: 2.5.0
param: array $sidebar_args

wp_widgets_access_body_class( $classes )   X-Ref

return: string
param: string $classes



Generated: Tue Dec 24 01:00:02 2024 Cross-referenced by PHPXref 0.7.1