wpseek.com
WordPress开发者和主题制作者的搜索引擎



set_404 › WordPress动作钩子

Since5.5.0
已弃用n/a
› do_action_ref_array( 'set_404', array( $this )
参数:
  • () query The WP_Query instance (passed by reference).
    Required: Yes
定义在:
文档:

Fires after a 404 is triggered.



Related Functions: is_404, get_404_template


Related Hooks: blog_redirect_404

源码

do_action_ref_array( 'set_404', array( $this ) );