Make WordPress Core

Changeset 49977


Ignore:
Timestamp:
01/18/2021 12:26:50 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Link to the parent function for accepted arguments in some filters for HTML output.

See #51800.

Location:
trunk/src/wp-includes
Files:
3 edited

Legend:

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

    r49926 r49977  
    663663         *
    664664         * @param string $output HTML output.
    665          * @param array  $args   An array of taxonomy-listing arguments.
     665         * @param array  $args   An array of taxonomy-listing arguments. See wp_list_categories()
     666         *                       for information on accepted arguments.
    666667         */
    667668        $html = apply_filters( 'wp_list_categories', $output, $args );
     
    759760         *
    760761         * @param string|string[] $return Tag cloud as a string or an array, depending on 'format' argument.
    761          * @param array           $args   An array of tag cloud arguments.
     762         * @param array           $args   An array of tag cloud arguments. See wp_tag_cloud()
     763         *                                for information on accepted arguments.
    762764         */
    763765        $return = apply_filters( 'wp_tag_cloud', $return, $args );
  • trunk/src/wp-includes/general-template.php

    r49976 r49977  
    248248         *
    249249         * @param array $args The array of arguments for building the search form.
     250         *                    See get_search_form() for information on accepted arguments.
    250251         */
    251252        do_action( 'pre_get_search_form', $args );
     
    279280         *
    280281         * @param array $args The array of arguments for building the search form.
     282         *                    See get_search_form() for information on accepted arguments.
    281283         */
    282284        $args = apply_filters( 'search_form_args', $args );
     
    296298         *                       Accepts 'html5', 'xhtml'.
    297299         * @param array  $args   The array of arguments for building the search form.
     300         *                       See get_search_form() for information on accepted arguments.
    298301         */
    299302        $format = apply_filters( 'search_form_format', $format, $args );
     
    344347         * @param string $form The search form HTML output.
    345348         * @param array  $args The array of arguments for building the search form.
     349         *                     See get_search_form() for information on accepted arguments.
    346350         */
    347351        $result = apply_filters( 'get_search_form', $form, $args );
     
    43644368         *
    43654369         * @param string $r    HTML output.
    4366          * @param array  $args An array of arguments. See paginate_links() for accepted arguments.
     4370         * @param array  $args An array of arguments. See paginate_links()
     4371         *                     for information on accepted arguments.
    43674372         */
    43684373        $r = apply_filters( 'paginate_links_output', $r, $args );
  • trunk/src/wp-includes/post-template.php

    r49927 r49977  
    947947         * @since 3.0.0
    948948         *
    949          * @param array $parsed_args An array of arguments for page links for paginated posts.
     949         * @param array $parsed_args An array of page link arguments. See wp_link_pages()
     950         *                           for information on accepted arguments.
    950951         */
    951952        $parsed_args = apply_filters( 'wp_link_pages_args', $parsed_args );
     
    10061007         *
    10071008         * @param string $output HTML output of paginated posts' page links.
    1008          * @param array  $args   An array of arguments.
     1009         * @param array  $args   An array of arguments. See wp_link_pages()
     1010         *                       for information on accepted arguments.
    10091011         */
    10101012        $html = apply_filters( 'wp_link_pages', $output, $args );
     
    12091211         *
    12101212         * @param string    $output      HTML output for drop down list of pages.
    1211          * @param array     $parsed_args The parsed arguments array.
     1213         * @param array     $parsed_args The parsed arguments array. See wp_dropdown_pages()
     1214         *                               for information on accepted arguments.
    12121215         * @param WP_Post[] $pages       Array of the page objects.
    12131216         */
     
    13381341         *
    13391342         * @param string    $output      HTML output of the pages list.
    1340          * @param array     $parsed_args An array of page-listing arguments.
     1343         * @param array     $parsed_args An array of page-listing arguments. See wp_list_pages()
     1344         *                               for information on accepted arguments.
    13411345         * @param WP_Post[] $pages       Array of the page objects.
    13421346         */
     
    14181422         * @see wp_page_menu()
    14191423         *
    1420          * @param array $args An array of page menu arguments.
     1424         * @param array $args An array of page menu arguments. See wp_page_menu()
     1425         *                    for information on accepted arguments.
    14211426         */
    14221427        $args = apply_filters( 'wp_page_menu_args', $args );
     
    14921497         *
    14931498         * @param string $menu The HTML output.
    1494          * @param array  $args An array of arguments.
     1499         * @param array  $args An array of arguments. See wp_page_menu()
     1500         *                     for information on accepted arguments.
    14951501         */
    14961502        $menu = apply_filters( 'wp_page_menu', $menu, $args );
Note: See TracChangeset for help on using the changeset viewer.