wp_loaded
This is a WordPress - wp_loaded hook. The plugin just uses it.
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.
Usage
add_action( 'wp_loaded', 'wp_kama_loaded_action' ); /** * Function for `wp_loaded` action-hook. * * @return void */ function wp_kama_loaded_action(){ // action... }
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
In file: /php/wp-settings-cli.php
wp_loaded
wp-cli/php/wp-settings-cli.php 468
do_action( 'wp_loaded' );