Allow custom processing before updating a table schema.
$table, $this->db_version
Sortie :
@param string $table Name of table being updated. @param string $db_version Existing version of the table being updated.
// Ajouter une fonction au hook action 'action_scheduler_before_schema_update'
add_action('action_scheduler_before_schema_update', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($table, $this->db_version) {
// Votre code ici
error_log('Hook action_scheduler_before_schema_update déclenché');
}
Chargement des actualités...