Make WordPress Core


Ignore:
Timestamp:
07/23/2020 12:50:57 AM (5 years ago)
Author:
johnbillion
Message:

Docs: Various formatting improvements to inline docblocks.

See #49572

File:
1 edited

Legend:

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

    r48135 r48574  
    102102     * This function should probably also only be used for sites that do not support oEmbed.
    103103     *
    104      * @param string $id An internal ID/name for the handler. Needs to be unique.
    105      * @param string $regex The regex that will be used to see if this handler should be used for a URL.
     104     * @param string   $id      An internal ID/name for the handler. Needs to be unique.
     105     * @param string   $regex    The regex that will be used to see if this handler should be used for a URL.
    106106     * @param callable $callback The callback function that will be called if the regex is matched.
    107      * @param int $priority Optional. Used to specify the order in which the registered handlers will be tested (default: 10). Lower numbers correspond with earlier testing, and handlers with the same priority are tested in the order in which they were added to the action.
     107     * @param int      $priority Optional. Used to specify the order in which the registered handlers will be tested.
     108     *                           Lower numbers correspond with earlier testing, and handlers with the same priority are
     109     *                           tested in the order in which they were added to the action. Default 10.
    108110     */
    109111    public function register_handler( $id, $regex, $callback, $priority = 10 ) {
Note: See TracChangeset for help on using the changeset viewer.