edit_post_{$post->post_type}

动作钩子


do_action( "edit_post_{$post->post_type}", $post_id, $post )
定义位置
  • wp-includes/comment.php
    , line 2769
引入
n/a
弃用

这个动作在wp-includes/post.php中有记录。

do_action( "edit_post_{$post->post_type}", $post_id, $post );