terms_to_edit

FILTER wp-admin\includes\taxonomy.php (ligne 295) github
Filters the comma-separated list of terms available to edit.

Paramètres

Entrée :
$terms_to_edit, $taxonomy
Sortie :
@param string $terms_to_edit A comma-separated list of term names.
@param string $taxonomy      The taxonomy name for which to retrieve terms.

Utilisation

// Modifier la valeur avec le filtre 'terms_to_edit'
add_filter('terms_to_edit', 'ma_fonction_filtre', 10, 1);

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

Actualités

Chargement des actualités...