WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Plugin API/Action Reference/muplugins loaded

Description

This hook is called after all must-use and network activated plugins have been loaded. It is called before other plugins are loaded.

The muplugins_loaded action hook fires early, and precedes the plugins_loaded action hook.

Parameters

There are no arguments passed to this hook.

Usage

<?php add_action( 'muplugins_loaded', 'function_name' ); ?>

where "function_name" is the name of the function to be called.

Examples

<?php
add_action( 'muplugins_loaded', 'my_plugin_override' );

function my_plugin_override() {
    // your code here
}
?>

Change Log

  • Since: 2.8

Source

muplugins_loaded is located in wp-settings.php.

Related