WordPress at Your Fingertips
function is not described

is_plugin_paused() WP 5.2.0

Determines whether a plugin is technically active but was paused while loading.

For more information on this and similar theme functions, check out the Conditional Tags article in the Theme Developer Handbook.

No Hooks.


true|false. True, if in the list of paused plugins. False, if not in the list.


is_plugin_paused( $plugin );
$plugin(string) (required)
Path to the plugin file relative to the plugins directory.


Since 5.2.0 Introduced.

Code of is_plugin_paused() WP 5.8.2

function is_plugin_paused( $plugin ) {
	if ( ! isset( $GLOBALS['_paused_plugins'] ) ) {
		return false;

	if ( ! is_plugin_active( $plugin ) ) {
		return false;

	list( $plugin ) = explode( '/', $plugin );

	return array_key_exists( $plugin, $GLOBALS['_paused_plugins'] );