Changeset 16312 for trunk/wp-admin/includes/plugin.php
- Timestamp:
- 11/11/2010 10:21:04 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/plugin.php
r16281 r16312 402 402 403 403 /** 404 * Check whether the plugin is inactive. 405 * 406 * Reverse of is_plugin_active(). Used as a callback. 407 * 408 * @since 3.1.0 409 * @see is_plugin_active() 410 * 411 * @param string $plugin Base plugin path from plugins directory. 412 * @return bool True if inactive. False if active. 413 */ 414 function is_plugin_inactive( $plugin ) { 415 return ! is_plugin_active( $plugin ); 416 } 417 418 /** 404 419 * Check whether the plugin is active for the entire network. 405 420 *
Note: See TracChangeset
for help on using the changeset viewer.