wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



is_plugin_inactive › WordPress Function

Desde3.1.0
Obsoleton/a
is_plugin_inactive ( $plugin )
Parâmetros:
  • (string) $plugin Path to the plugin file relative to the plugins directory.
    Required: Yes
Ver:
Retorna:
  • (bool) True if inactive. False if active.
Definido em:
Codex:

Determines whether the plugin is inactive.

Reverse of is_plugin_active(). Used as a callback. For more information on this and similar theme functions, check out the {@link Conditional Tags} article in the Theme Developer Handbook.


Fonte

function is_plugin_inactive( $plugin ) {
	return ! is_plugin_active( $plugin );
}