wpseek.com
WordPress开发者和主题制作者的搜索引擎
rest_api_init › WordPress动作钩子
Since4.4.0
已弃用n/a
› do_action( 'rest_api_init', $wp_rest_server )
参数: |
|
定义在: |
|
文档: |
Fires when preparing to serve a REST API request.
Endpoint objects should be created and register their hooks on this action rather than another action to ensure they're only loaded when needed.
Related Functions: rest_api_init, rest_is_integer, rest_api_loaded, kses_init, rest_api_register_rewrites, rest_is_object