Make WordPress Core

Changeset 59734


Ignore:
Timestamp:
01/29/2025 11:13:17 PM (5 months ago)
Author:
audrasjb
Message:

Docs: Improve docblock for rest_menu_read_access filter.

Follow-up to [59718].

See #62281, #54304.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php

    r59718 r59734  
    8585         *
    8686         * @since 6.8.0
    87          * @param $read_only_access bool Whether the current user has read access to menu items via the REST API.
    88          * @param $request WP_REST_Request Full details about the request.
    89          * @param $this WP_REST_Controller The current instance of the controller.
     87         *
     88         * @param bool               $read_only_access Whether the current user has read access to menu items
     89         *                                             via the REST API.
     90         * @param WP_REST_Request    $request          Full details about the request.
     91         * @param WP_REST_Controller $this             The current instance of the controller.
    9092         */
    9193        $read_only_access = apply_filters( 'rest_menu_read_access', false, $request, $this );
Note: See TracChangeset for help on using the changeset viewer.