Changeset 43827 for branches/5.0/src/wp-admin/includes/plugin.php
- Timestamp:
- 10/26/2018 01:23:29 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-admin/includes/plugin.php
r43364 r43827 431 431 432 432 /** 433 * Checkwhether a plugin is active.433 * Determines whether a plugin is active. 434 434 * 435 435 * Only plugins installed in the plugins/ folder can be active. … … 437 437 * Plugins in the mu-plugins/ folder can't be "activated," so this function will 438 438 * return false for those plugins. 439 * 439 * 440 * For more information on this and similar theme functions, check out 441 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 442 * Conditional Tags} article in the Theme Developer Handbook. 443 * 440 444 * @since 2.5.0 441 445 * … … 448 452 449 453 /** 450 * Checkwhether the plugin is inactive.454 * Determines whether the plugin is inactive. 451 455 * 452 456 * Reverse of is_plugin_active(). Used as a callback. 453 * 457 * 458 * For more information on this and similar theme functions, check out 459 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 460 * Conditional Tags} article in the Theme Developer Handbook. 461 * 454 462 * @since 3.1.0 455 463 * @see is_plugin_active() … … 463 471 464 472 /** 465 * Checkwhether the plugin is active for the entire network.473 * Determines whether the plugin is active for the entire network. 466 474 * 467 475 * Only plugins installed in the plugins/ folder can be active. … … 469 477 * Plugins in the mu-plugins/ folder can't be "activated," so this function will 470 478 * return false for those plugins. 471 * 479 * 480 * For more information on this and similar theme functions, check out 481 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 482 * Conditional Tags} article in the Theme Developer Handbook. 483 * 472 484 * @since 3.0.0 473 485 * 474 486 * @param string $plugin Path to the main plugin file from plugins directory. 475 * @return bool True ,if active for the network, otherwise false.487 * @return bool True if active for the network, otherwise false. 476 488 */ 477 489 function is_plugin_active_for_network( $plugin ) {
Note: See TracChangeset
for help on using the changeset viewer.