populate_options

populate_options

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('populate_options') is found 1 times:

  • /wp-admin/includes/schema.php line 370
    	 * Fires before creating WordPress options and populating their default values.
    	 *
    	 * @since 2.6.0
    	 */
    	do_action( 'populate_options' );
    
    	// If WP_DEFAULT_THEME doesn't exist, fall back to the latest core default theme.
    	$stylesheet = WP_DEFAULT_THEME;
    	$template   = WP_DEFAULT_THEME;
    	$theme      = wp_get_theme( WP_DEFAULT_THEME );
    	if ( ! $theme->exists() ) {