plugin_loaded action-hookWP 5.1.0

Fires once a single activated plugin has loaded.

Usage

add_action( 'plugin_loaded', 'wp_kama_plugin_loaded_action' );

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

	// action...
}
$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
plugin_loaded
wp-settings.php 527
do_action( 'plugin_loaded', $plugin );

Where the hook is used in WordPress

Usage not found.