WPDev.one
Core Function
View Source on Trac ↗

is_uninstallable_plugin()

is_uninstallable_plugin( mixed $plugin )

Determines whether the plugin can be uninstalled.

Parameters 1 required

Name / Type Description
$plugin
string

Path to the plugin file relative to the plugins directory.

Required

Return Value

(bool)
Whether plugin can be uninstalled.

Function Information

Since Version
2.7.0
Source File
wp-admin/includes/plugin.php
Advertisement