Fires for each custom column in the Custom Order Table in the administrative screen.
$column_name, $order
Sortie :
@param string $column_name Identifier for the custom column. @param \WC_Order $order Current WooCommerce order object.
// Ajouter une fonction au hook action 'manage_{$this->screen->id}_custom_column'
add_action('manage_{$this->screen->id}_custom_column', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($column_name, $order) {
// Votre code ici
error_log('Hook manage_{$this->screen->id}_custom_column déclenché');
}
Chargement des actualités...