Make WordPress Core

Changeset 45421


Ignore:
Timestamp:
05/25/2019 10:52:45 PM (6 years ago)
Author:
johnbillion
Message:

Docs: Correct a function name in the do_action() documentation.

See #37402

File:
1 edited

Legend:

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

    r45420 r45421  
    433433 *      * - 'example_action' is the action hook
    434434 *      * - $arg1 and $arg2 are the additional arguments passed to the callback.
    435  *     $value = apply_actions( 'example_action', $arg1, $arg2 );
     435 *     $value = do_action( 'example_action', $arg1, $arg2 );
    436436 *
    437437 * @since 1.2.0
Note: See TracChangeset for help on using the changeset viewer.