Make WordPress Core


Ignore:
Timestamp:
05/04/2021 03:00:33 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Further synchronize documentation for some Plugin API functions.

Follow-up to [50807].

See #50531.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/plugin.php

    r50807 r50811  
    280280 * @param string   $hook_name The filter hook to which the function to be removed is hooked.
    281281 * @param callable $callback  The name of the function which should be removed.
    282  * @param int      $priority  Optional. The priority of the function. Default 10.
     282 * @param int      $priority  Optional. The exact priority used when adding the original
     283 *                            filter callback. Default 10.
    283284 * @return bool Whether the function existed before it was removed.
    284285 */
     
    554555 * @param string   $hook_name The action hook to which the function to be removed is hooked.
    555556 * @param callable $callback  The name of the function which should be removed.
    556  * @param int      $priority  Optional. The priority of the function. Default 10.
     557 * @param int      $priority  Optional. The exact priority used when adding the original
     558 *                            action callback. Default 10.
    557559 * @return bool Whether the function is removed.
    558560 */
Note: See TracChangeset for help on using the changeset viewer.