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



permalink_structure_changed › WordPress动作钩子

Since2.8.0
已弃用n/a
do_action( 'permalink_structure_changed', $old_permalink_structure, $permalink_structure )
参数: (2)
  • (string) $old_permalink_structure The previous permalink structure.
    Required: Yes
  • (string) $permalink_structure The new permalink structure.
    Required: Yes
定义在:
文档:

Fires after the permalink structure is updated.





源码

do_action( 'permalink_structure_changed', $old_permalink_structure, $permalink_structure );