This is used by the order edit page to show messages in the notice fields. It should be similar to post_updated_messages filter, i.e.: array( {order_type} => array( 1 => 'Order updated.', 2 => 'Custom field updated.', ... ). The index to be displayed is computed from the $_GET['message'] variable.
array(
Sortie :
// Modifier la valeur avec le filtre 'woocommerce_order_updated_messages'
add_filter('woocommerce_order_updated_messages', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(array() {
// Modifier la valeur
return array(;
}
Chargement des actualités...