WordPress.org

Make WordPress Core

Ticket #28112: 28112.3.diff

File 28112.3.diff, 576 bytes (added by itowhid06, 2 years ago)

Updated @since to reflect actual version the hook is introduce

  • src/wp-admin/includes/post.php

    diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php
    index 187c013031..c75c39b681 100644
    a b function bulk_edit_posts( $post_data = null ) { 
    624624                }
    625625        }
    626626
     627        /**
     628        * Execute an action with all the post data processed by `bulk_edit_posts`.
     629        *
     630        * @since 5.0.3
     631        *
     632        * @param array $post_data Associative array containing the post data.
     633        */
     634
     635        do_action( 'bulk_edit_posts', $post_data );
     636
    627637        return array(
    628638                'updated' => $updated,
    629639                'skipped' => $skipped,