Property | Type | Description | |
---|---|---|---|
$item_type | |||
$obj_fields | |||
$upgrade_refresh | |||
$upgrade_transient |
Method | Description | |
---|---|---|
__construct ( ) | ||
activate ( $args, $assoc_args = [] ) | Activate a plugin. | |
deactivate ( $args, $assoc_args = [] ) | Deactivate a plugin. | |
delete ( $args, $assoc_args = [] ) | Delete plugin files without deactivating or uninstalling. | |
get ( $args, $assoc_args ) | Get details about an installed plugin. | |
install ( $args, $assoc_args ) | Install a plugin. | |
is_installed ( $args, $assoc_args = [] ) | Check if the plugin is installed. | |
list_ ( $_, $assoc_args ) | Get a list of plugins. | |
path ( $args, $assoc_args ) | Get the path to a plugin or to the plugin directory. | |
search ( $args, $assoc_args ) | Search the WordPress.org plugin directory. | |
status ( $args ) | See the status of one or all plugins. | |
toggle ( $args, $assoc_args = [] ) | Toggle a plugin's activation state. | |
uninstall ( $args, $assoc_args = [] ) | Uninstall a plugin. | |
update ( $args, $assoc_args ) | Update one or more plugins. |
Method | Description | |
---|---|---|
filter_item_list ( $items, $args ) | ||
get_all_items ( ) | ||
get_item_list ( ) | ||
get_status ( $file ) | ||
get_upgrader_class ( $force ) | ||
install_from_repo ( $slug, $assoc_args ) | ||
status_single ( $args ) |
Method | Description | |
---|---|---|
_delete ( $plugin ) | ||
active_output ( $name, $file, $network_wide, $action ) | ||
check_active ( $file, $network_wide ) | * PRIVATES | |
get_details ( $file ) : array | Get the details of a plugin. |
public activate ( $args, $assoc_args = [] ) |
public deactivate ( $args, $assoc_args = [] ) |
public delete ( $args, $assoc_args = [] ) |
public get ( $args, $assoc_args ) |
public install ( $args, $assoc_args ) |
public is_installed ( $args, $assoc_args = [] ) |
public list_ ( $_, $assoc_args ) |
public path ( $args, $assoc_args ) |
public search ( $args, $assoc_args ) |
public status ( $args ) |
public toggle ( $args, $assoc_args = [] ) |
public uninstall ( $args, $assoc_args = [] ) |
public update ( $args, $assoc_args ) |