plugin_loaded WordPress Action Hook
The plugin_loaded hook is called when a plugin is first loaded. It is used to load plugin text domain and to check if a plugin is compatible with the current WordPress version.
do_action( 'plugin_loaded', string $plugin ) #
Fires once a single activated plugin has loaded.
Contents
Parameters
- $plugin
(string)Full path to the plugin's main file.
Source
File: wp-settings.php
Changelog
Version | Description |
---|---|
5.1.0 | Introduced. |