wpseek.com
A WordPress-centric search engine for devs and theme authors
rest_route_data › WordPress Filter Hooks
Since4.4.0
Deprecatedn/a
› apply_filters( 'rest_route_data', $available, $routes )
Parameters: (2) |
|
Defined at: | |
Codex: |
Filters the publicly-visible data for routes.
This data is exposed on indexes and can be used by clients or developers to investigate the site and find out how to use it. It acts as a form of self-documentation.
Related Functions: rest_parse_date, wp_reset_postdata, get_theme_data, get_postdata, wp_get_update_data, get_the_date
Related Hooks: rest_pre_dispatch, get_the_date, wp_get_update_data, rest_post_dispatch, get_others_drafts