WPDev.one
Core Function
View Source on Trac ↗

is_plugin_paused()

is_plugin_paused( mixed $plugin )

Determines whether a plugin is technically active but was paused while

Parameters 1 required

Name / Type Description
$plugin
string

Path to the plugin file relative to the plugins directory.

Required

Return Value

(bool)
True, if in the list of paused plugins. False, if not in the list.

Function Information

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