This page redirects to an external site: https://developer.wordpress.org/reference/hooks/plugins_loaded/
This hook is called once any activated plugins have been loaded. Is generally used for immediate filter setup, or plugin overrides.
The plugins_loaded action hook fires early, and precedes the setup_theme, after_setup_theme, init and wp_loaded action hooks.
There are no arguments passed to this hook.
<?php add_action( 'plugins_loaded', 'function_name' ); ?>
where "function_name" is the name of the function to be called.
<?php
add_action( 'plugins_loaded', 'my_plugin_override' );
function my_plugin_override() {
// your code here
}
?>
plugins_loaded is located in wp-settings.php.