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
檢視更多 >