add filter for bulk action IDs
This commit is contained in:
parent
2ab47706a7
commit
5f57e3b524
|
@ -623,7 +623,7 @@ class WC_Admin_List_Table_Orders extends WC_Admin_List_Table {
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function handle_bulk_actions( $redirect_to, $action, $ids ) {
|
public function handle_bulk_actions( $redirect_to, $action, $ids ) {
|
||||||
$ids = array_reverse( array_map( 'absint', $ids ) );
|
$ids = apply_filters( 'woocommerce_bulk_action_ids', array_reverse( array_map( 'absint', $ids ) ), $action, 'order' );
|
||||||
$changed = 0;
|
$changed = 0;
|
||||||
|
|
||||||
if ( 'remove_personal_data' === $action ) {
|
if ( 'remove_personal_data' === $action ) {
|
||||||
|
|
Loading…
Reference in New Issue