wpseek.com
WordPress开发者和主题制作者的搜索引擎
rest_pre_dispatch › WordPress过滤钩子
Since4.4.0
已弃用n/a
› apply_filters( 'rest_pre_dispatch', null, $this, $request )
| 参数: (3) |
|
| 定义在: | |
| 文档: |
Filters the pre-calculated result of a REST API dispatch request.
Allow hijacking the request before dispatching by returning a non-empty. The returned value will be used to serve the request instead.Related Functions: rest_parse_date, rest_parse_embed_param, get_page_by_path, get_home_path, get_previous_post, _restore_wpautop_hook