Un motore di ricerca WordPress per sviluppatori e autori di temi



is_plugin_inactive ›

Da3.1.0
Deprecaton/a
is_plugin_inactive ( $plugin )
Parametri:
  • (string) $plugin Path to the plugin file relative to the plugins directory.
    Richiesto:
Vedi:
Ritorna:
  • (bool) True if inactive. False if active.
Definito a:
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 https://developer.wordpress.org/themes/basics/conditional-tags/ Conditional Tags} article in the Theme Developer Handbook.



Sorgenti

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