wpseek.com
WordPress开发者和主题制作者的搜索引擎
rest_route_data › WordPress过滤钩子
Since4.4.0
已弃用n/a
› apply_filters( 'rest_route_data', $available, $routes )
| 参数: (2) |
|
| 定义在: | |
| 文档: |
Filters the publicly-visible data for REST API 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, get_theme_data, wp_reset_postdata, get_postdata, get_the_date, get_userdata
Related Hooks: rest_route_for_post, rest_route_for_term, rest_pre_dispatch, get_the_date, rest_post_dispatch