wphooks.info - wp_dashboard_setup

wp_dashboard_setup

(trunk - 5.0-alpha-42993)

The hook occurs in the following file:

wp-admin/includes/dashboard.php:
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
		 * @param string[] $dashboard_widgets An array of dashboard widget IDs.
		 */
		$dashboard_widgets = apply_filters( 'wp_user_dashboard_widgets', array() );
	} else {

		/**
		 * Fires after core widgets for the admin dashboard have been registered.
		 *
		 * @since 2.5.0
		 */
		do_action( 'wp_dashboard_setup' );

		/**
		 * Filters the list of widgets to load for the admin dashboard.
		 *
		 * @since 2.5.0
		 *
		 * @param string[] $dashboard_widgets An array of dashboard widget IDs.
		 */
		$dashboard_widgets = apply_filters( 'wp_dashboard_widgets', array() );