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.


Parameters

$plugin

(string)Full path to the plugin's main file.


Top ↑

Source

File: wp-settings.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
5.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.