WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
событие не описано

wp_loaded хук-событие . WP 3.0.0

This hook is fired once WP, all plugins, and the theme are fully loaded and instantiated.

Ajax requests should use wp-admin/admin-ajax.php. admin-ajax.php can handle requests for users not logged in.


add_action( 'wp_loaded', 'action_function_name_9598' );
function action_function_name_9598(){
	// action...

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

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

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

wp-includes/class-wp-customize-manager.php 368
add_action( 'wp_loaded', array( $this, 'wp_loaded' ) );
wp-includes/class-wp-customize-widgets.php 112
add_action( 'wp_loaded', array( $this, 'override_sidebars_widgets_for_theme_switch' ) );
wp-includes/class-wp-rewrite.php 1466
add_action( 'wp_loaded', array( $this, 'flush_rules' ) );
wp-includes/class-wp-rewrite.php 1794
add_action( 'wp_loaded', array( $this, 'flush_rules' ) );
wp-includes/default-filters.php 457
add_action( 'wp_loaded', '_custom_header_background_just_in_time' );