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



post_stuck › WordPress动作钩子

Since4.6.0
已弃用n/a
› do_action( 'post_stuck', $post_id )
参数:
  • () post_id ID of the post that was stuck.
    Required: Yes
定义在:
文档:

Fires once a post has been added to the sticky list.





源码

do_action( 'post_stuck', $post_id );