dashboard_glance_items

dashboard_glance_items

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('dashboard_glance_items') is found 1 times:

  • /wp-admin/includes/dashboard.php line 361
    	 * @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: