[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

title

Body

[close]

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

WordPress Widgets Administration API

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

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.

return: array
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
param: array $sidebar_args

wp_widgets_access_body_class( $classes )   X-Ref

return: string
param: string $classes



Generated: Sat Feb 16 08:20:01 2019 Cross-referenced by PHPXref 0.7