WordPress at a glance
action is not described

dynamic_sidebar_after action-hook . WP 3.9.0

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.


add_action( 'dynamic_sidebar_after', 'action_function_name_814', 10, 2 );
function action_function_name_814( $index, $has_widgets ){
	// action...
Index, name, or ID of the dynamic sidebar.
Whether the sidebar is populated with widgets.
Default: true

Список изменений

С версии 3.9.0 Введена.

Где вызывается хук

wp-includes/widgets.php 822
do_action( 'dynamic_sidebar_after', $index, true );
wp-includes/widgets.php 689
do_action( 'dynamic_sidebar_after', $index, false );

Где используется хук в ядре WordPress

wp-includes/class-wp-customize-widgets.php 1628
add_action( 'dynamic_sidebar_after', array( $this, 'end_dynamic_sidebar' ) );