dashboard_glance_items

dashboard_glance_items

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-5.4.1

apply_filters('dashboard_glance_items') is found 1 times:

  • /wp-admin/includes/dashboard.php line 334
    	 * @since 3.8.0
    	 *
    	 * @param string[] $items Array of extra 'At a Glance' widget items.
    	 */
    	$elements = apply_filters( 'dashboard_glance_items', array() );
    
    	if ( $elements ) {
    		echo '<li>' . implode( "</li>\n<li>", $elements ) . "</li>\n";
    	}
    
    	?>
    

See this hook used in plugins: