Changeset 42710 for trunk/src/wp-admin/includes/plugin.php
- Timestamp:
- 02/13/2018 04:53:44 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/plugin.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r42394 r42710 458 458 459 459 /** 460 * Checkwhether a plugin is active.460 * Determines whether a plugin is active. 461 461 * 462 462 * Only plugins installed in the plugins/ folder can be active. … … 464 464 * Plugins in the mu-plugins/ folder can't be "activated," so this function will 465 465 * return false for those plugins. 466 * 466 * 467 * For more information on this and similar theme functions, check out 468 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 469 * Conditional Tags} article in the Theme Developer Handbook. 470 * 467 471 * @since 2.5.0 468 472 * … … 475 479 476 480 /** 477 * Checkwhether the plugin is inactive.481 * Determines whether the plugin is inactive. 478 482 * 479 483 * Reverse of is_plugin_active(). Used as a callback. 480 * 484 * 485 * For more information on this and similar theme functions, check out 486 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 487 * Conditional Tags} article in the Theme Developer Handbook. 488 * 481 489 * @since 3.1.0 482 490 * @see is_plugin_active() … … 490 498 491 499 /** 492 * Checkwhether the plugin is active for the entire network.500 * Determines whether the plugin is active for the entire network. 493 501 * 494 502 * Only plugins installed in the plugins/ folder can be active. … … 496 504 * Plugins in the mu-plugins/ folder can't be "activated," so this function will 497 505 * return false for those plugins. 498 * 506 * 507 * For more information on this and similar theme functions, check out 508 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 509 * Conditional Tags} article in the Theme Developer Handbook. 510 * 499 511 * @since 3.0.0 500 512 * 501 513 * @param string $plugin Path to the main plugin file from plugins directory. 502 * @return bool True ,if active for the network, otherwise false.514 * @return bool True if active for the network, otherwise false. 503 515 */ 504 516 function is_plugin_active_for_network( $plugin ) {
Note: See TracChangeset
for help on using the changeset viewer.