woocommerce_bulk_action_ids

woocommerce_bulk_action_ids

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_bulk_action_ids') is found 1 times:

  • /includes/admin/list-tables/class-wc-admin-list-table-orders.php line 451
    	 * @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 ) {