WordPress Hooks Explorer

Listing all hooks extracted WordPress Core

Details about dynamic_sidebar_after

Back to home


Filename Hook Type Line Number PHP Doc
wp-includes/widgets.php do_action 707 /**
* Display dynamic sidebar.
* By default this displays the default sidebar or 'sidebar-1'. If your theme specifies the 'id' or
* 'name' parameter for its registered sidebars you can pass an ID or name as the $index parameter.
* Otherwise, you can pass in a numerical index to display the sidebar at that index.
* @since 2.2.0
* @global array $wp_registered_sidebars Registered sidebars.
* @global array $wp_registered_widgets Registered widgets.
* @param int|string $index Optional. Index, name or ID of dynamic sidebar. Default 1.
* @return bool True, if widget sidebar was found and called. False if not found or not called.
wp-includes/widgets.php do_action 856 /**
* Fires after widgets are rendered in a dynamic sidebar.
* Note: The action also fires for empty sidebars, and on both the front end
* and back end, including the Inactive Widgets sidebar on the Widgets screen.
* @since 3.9.0
* @param int|string $index Index, name, or ID of the dynamic sidebar.
* @param bool $has_widgets Whether the sidebar is populated with widgets.
* Default true.

Hook Parameters

Parameter Type Name Description