Make WordPress Core

Changeset 61114


Ignore:
Timestamp:
11/03/2025 04:47:50 PM (10 days ago)
Author:
SergeyBiryukov
Message:

Docs: Update description for some method parameters in WP_REST_Server class.

Follow-up to [47224], [59032].

Props dilipbheda, mukesh27, kirasong, shailu25, khushdoms, welcher, audrasjb, SergeyBiryukov.
Fixes #63249.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/class-wp-rest-server.php

    r61113 r61114  
    656656
    657657    /**
    658      * Gets the target links for a REST API Link.
     658     * Gets the target hints for a REST API Link.
    659659     *
    660660     * @since 6.7.0
    661661     *
    662      * @param array $link
    663      *
     662     * @param array $link The link to get target hints for.
    664663     * @return array|null
    665664     */
     
    765764     * @param array         $data  Data from the request.
    766765     * @param bool|string[] $embed Whether to embed all links or a filtered list of link relations.
     766     *                             Default true.
    767767     * @return array {
    768768     *     Data with sub-requests embedded.
Note: See TracChangeset for help on using the changeset viewer.