ms_loaded
Fires after the current site and network have been detected and loaded in multisite's bootstrap.
Usage
add_action( 'ms_loaded', 'wp_kama_ms_loaded_action' ); /** * Function for `ms_loaded` action-hook. * * @return void */ function wp_kama_ms_loaded_action(){ // action... }
Changelog
Since 4.6.0 | Introduced. |
Where the hook is called
In file: /wp-includes/ms-settings.php
ms_loaded
wp-includes/ms-settings.php 123
do_action( 'ms_loaded' );