link_category

FILTER wp-includes\deprecated.php (ligne 1063) github
Output entire list of links by category. Output a list of all links, listed by category, using the settings in $wpdb->linkcategories and output it as a nested HTML unordered list.

Paramètres

Entrée :
$cat->name
Sortie :
@param string $order Sort link categories by 'name' or 'id'

Utilisation

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

function ma_fonction_filtre($cat->name) {
    // Modifier la valeur
    return $cat->name;
}

Actualités

Chargement des actualités...