WordPress at a glance
action is not described

setup_theme action-hook . WP 2.6.0

Fires before the theme is loaded.

Usage

add_action( 'setup_theme', 'action_function_name_803' );
function action_function_name_803(){
	// action...
}

Список изменений

С версии 2.6.0 Введена.

Где вызывается хук

В файле: /wp-settings.php
setup_theme
wp-settings.php 478
do_action( 'setup_theme' );

Где используется хук в ядре WordPress

wp-includes/class-wp-customize-manager.php 366
add_action( 'setup_theme', array( $this, 'setup_theme' ) );
wp-includes/default-filters.php 467
add_action( 'setup_theme', 'create_initial_theme_features', 0 );