apply_filters( 'learndash_rest_wp_archive_repsonse', object $data, string $post_type, WP_REST_Request $request )
Filter archive REST data.
Description #
Parameters #
- $data
-
(object) WP_REST_Response.
- $post_type
-
(string) The post type slug.
- $request
-
(WP_REST_Request) Full details about the request.
Return #
(object) WP_REST_Response
Source #
File: includes/gutenberg/lib/class-ld-rest-gutenberg-posts-controller.php
Changelog #
Version | Description |
---|---|
3.6.0 | Introduced. |