all_plugins WordPress Filter Hook

The all_plugins hook is one of the most important hooks in WordPress. It is called during the loading of each plugin file. This hook allows you to modify how a plugin is loaded. If a plugin is not compatible with the current version of WordPress, this hook can be used to deactivate the plugin. Additionally, this hook can be used to load a plugin's text domain for internationalization.

apply_filters( 'all_plugins', array $all_plugins ) #

Filters the full array of plugins to list in the Plugins list table.


Description

Top ↑

See also


Top ↑

Parameters

$all_plugins

(array)An array of plugins to display in the list table.


Top ↑

Source

File: wp-admin/includes/class-wp-plugins-list-table.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.0.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.