mu_plugin_loaded action-hookWP 5.1.0

Fires once a single must-use plugin has loaded.

Usage

add_action( 'mu_plugin_loaded', 'wp_kama_mu_plugin_loaded_action' );

/**
 * Function for `mu_plugin_loaded` action-hook.
 * 
 * @param string $mu_plugin Full path to the plugin's main file.
 *
 * @return void
 */
function wp_kama_mu_plugin_loaded_action( $mu_plugin ){

	// action...
}
$mu_plugin(string)
Full path to the plugin's main file.

Changelog

Since 5.1.0 Introduced.

Where the hook is called

In file: /wp-settings.php
mu_plugin_loaded
wp-settings.php 363
do_action( 'mu_plugin_loaded', $mu_plugin );

Where the hook is used in WordPress

Usage not found.