wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
rest_pre_dispatch › Hooks de Filtros WordPress
Desde4.4.0
Obsoleton/a
› apply_filters( 'rest_pre_dispatch', null, $this, $request )
| Parâmetros: (3) |
|
| Definido em: | |
| Codex: |
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.Funções relacionadas: rest_parse_date, rest_parse_embed_param, get_page_by_path, get_home_path, get_previous_post, _restore_wpautop_hook
Hooks relacionados: rest_post_dispatch, rest_prepare_theme, rest_route_data, rest_dispatch_request, rest_pre_insert_comment