handle_bulk_actions-{$screen}

FILTER woocommerce\src\Internal\Admin\Orders\ListTable.php (ligne 1481) github
This action is documented in /wp-admin/edit.php (it is a core WordPress hook).

Paramètres

Entrée :
$redirect_to, $action, $ids
Sortie :
@param string $redirect_to The URL to redirect to after processing the bulk actions.
@param string $action      The current bulk action.
@param int[]  $ids         IDs for the orders to be processed.

Utilisation

// Modifier la valeur avec le filtre 'handle_bulk_actions-{$screen}'
add_filter('handle_bulk_actions-{$screen}', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre($redirect_to) {
    // Modifier la valeur
    return $redirect_to;
}

Actualités

Chargement des actualités...