Make WordPress Core

Changeset 41551


Ignore:
Timestamp:
09/21/2017 09:59:12 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Use correct order of arguments in the DocBlock for WP_Hook::has_filter().

Props munyagu.
Fixes #41941.

File:
1 edited

Legend:

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

    r41162 r41551  
    190190     * @since 4.7.0
    191191     *
    192      * @param callable|bool $function_to_check Optional. The callback to check for. Default false.
    193192     * @param string        $tag               Optional. The name of the filter hook. Used for building
    194193     *                                         the callback ID when SPL is not available. Default empty.
     194     * @param callable|bool $function_to_check Optional. The callback to check for. Default false.
    195195     * @return bool|int The priority of that hook is returned, or false if the function is not attached.
    196196     */
Note: See TracChangeset for help on using the changeset viewer.