wphooks.info - after_setup_theme

after_setup_theme

(trunk - 5.0-alpha-43304)

The hook occurs in the following file:

/wp-settings.php:
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
	if ( file_exists( TEMPLATEPATH . '/functions.php' ) ) {
		include( TEMPLATEPATH . '/functions.php' );
	}
}

/**
 * Fires after the theme is loaded.
 *
 * @since 3.0.0
 */
do_action( 'after_setup_theme' );

// Set up current user.
$GLOBALS['wp']->init();

/**
 * Fires after WordPress has finished loading but before any headers are sent.
 *
 * Most of WP is loaded at this stage, and the user is authenticated. WP continues
 * to load on the {@see 'init'} hook that follows (e.g. widgets), and many plugins instantiate