action_scheduler/created_table

ACTION woocommerce\packages\action-scheduler\classes\abstracts\ActionScheduler_Abstract_Schema.php (ligne 146) github
Update the schema for the given table

Paramètres

Entrée :
$updated_table, $table
Sortie :
@param string $table The name of the table to update.
@return void

Utilisation

// Ajouter une fonction au hook action 'action_scheduler/created_table'
add_action('action_scheduler/created_table', 'ma_fonction_personnalisee', 10, 1);

function ma_fonction_personnalisee($updated_table, $table) {
    // Votre code ici
    error_log('Hook action_scheduler/created_table déclenché');
}

Actualités

Chargement des actualités...