mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Docs: Various docblock improvements.
See #51800 git-svn-id: https://develop.svn.wordpress.org/trunk@49790 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -802,19 +802,19 @@ function dynamic_sidebar( $index = 1 ) {
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param array $widget_id {
|
||||
* @param array $widget {
|
||||
* An associative array of widget arguments.
|
||||
*
|
||||
* @type string $name Name of the widget.
|
||||
* @type string $id Widget ID.
|
||||
* @type callable $callback When the hook is fired on the front end, $callback is an array
|
||||
* containing the widget object. Fired on the back end, $callback
|
||||
* is 'wp_widget_control', see $_callback.
|
||||
* @type callable $callback When the hook is fired on the front end, `$callback` is an array
|
||||
* containing the widget object. Fired on the back end, `$callback`
|
||||
* is 'wp_widget_control', see `$_callback`.
|
||||
* @type array $params An associative array of multi-widget arguments.
|
||||
* @type string $classname CSS class applied to the widget container.
|
||||
* @type string $description The widget description.
|
||||
* @type array $_callback When the hook is fired on the back end, $_callback is populated
|
||||
* with an array containing the widget object, see $callback.
|
||||
* @type array $_callback When the hook is fired on the back end, `$_callback` is populated
|
||||
* with an array containing the widget object, see `$callback`.
|
||||
* }
|
||||
*/
|
||||
do_action( 'dynamic_sidebar', $wp_registered_widgets[ $id ] );
|
||||
|
||||
Reference in New Issue
Block a user