woocommerce_bulk_action_ids

woocommerce_bulk_action_ids

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_bulk_action_ids') is found 1 times:

  • /includes/admin/list-tables/class-wc-admin-list-table-orders.php line 452
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    * @param  array  $ids         List of ids.
     * @return string
     */
    public function handle_bulk_actions( $redirect_to, $action, $ids ) {
        $ids     = apply_filters( 'woocommerce_bulk_action_ids', array_reverse( array_map( 'absint', $ids ) ), $action, 'order' );
        $changed = 0;
     
        if ( 'remove_personal_data' === $action ) {
            $report_action = 'removed_personal_data';
     
            foreach ( $ids as $id ) {