bulk_edit_posts

动作钩子
do_action( 'bulk_edit_posts', $updated, $shared_post_data )
参数
  • (int[]) $updated An array of updated post IDs.
    Required:
  • (array) $shared_post_data Associative array containing the post data.
    Required:
定义位置
相关勾子
edit_postbulk_edit_custom_boxurl_to_postidedit_post_linkget_edit_post_link
相关方法
bulk_edit_postsedit_postget_postsuser_can_edit_postuse_block_editor_for_postwp_edit_posts_query
引入
6.3.0
弃用
-

在处理文章数据以进行批量编辑后触发。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
do_action( 'bulk_edit_posts', $updated, $shared_post_data );
do_action( 'bulk_edit_posts', $updated, $shared_post_data );
do_action( 'bulk_edit_posts', $updated, $shared_post_data );

常见问题

FAQs
查看更多 >