wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



is_plugin_inactive › WordPress Function

Od3.1.0
Przestarzałyn/a
is_plugin_inactive ( $plugin )
Parametry:
  • (string) $plugin Path to the plugin file relative to the plugins directory.
    Wymagane: Tak
Zobacz:
Powrót:
  • (bool) True if inactive. False if active.
Zdefiniowane na:
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.


Źródło

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