Filter hook 'show_advanced_plugins'
in WP Core File wp-admin/includes/class-wp-plugins-list-table.php at line 144
Description
Filters whether to display the advanced plugins list table. There are two types of advanced plugins - must-use and drop-ins - which can be used in a single site or Multisite network. The $type parameter allows you to differentiate between the type of advanced plugins to filter the display of. Contexts include 'mustuse' and 'dropins'.
Occurrences
Filename |
Line Number |
wp-admin/includes/class-wp-plugins-list-table.php |
144 |
wp-admin/includes/class-wp-plugins-list-table.php |
149 |
Parameters
Type |
Name |
Description |
bool |
$show |
Whether to show the advanced plugins for the specified plugin type. Default true. |
string |
$type |
The plugin type. Accepts 'mustuse', 'dropins'. |
PHP Doc
/**
* Filters whether to display the advanced plugins list table.
*
* There are two types of advanced plugins - must-use and drop-ins -
* which can be used in a single site or Multisite network.
*
* The $type parameter allows you to differentiate between the type of advanced
* plugins to filter the display of. Contexts include 'mustuse' and 'dropins'.
*
* @since 3.0.0
*
* @param bool $show Whether to show the advanced plugins for the specified
* plugin type. Default true.
* @param string $type The plugin type. Accepts 'mustuse', 'dropins'.
*/