[ Index ]

WordPress 5.4.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    




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

WordPress Widgets Administration API

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

Defines 7 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.

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: Tue May 19 15:51:04 2020 Cross-referenced by PHPXref 0.7.1