Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




is_plugin_inactive [ WordPress Function ]

is_plugin_inactive ( $plugin )
Parameters:
  • (string) $plugin Base plugin path from plugins directory.
See:
Returns:
  • (bool) True if inactive. False if active.
Defined at:



Check whether the plugin is inactive.

Reverse of is_plugin_active(). Used as a callback.

Source


<?php
function is_plugin_inactive$plugin ) {
    return ! 
is_plugin_active$plugin );
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics