dynamic_sidebar_params

FILTER wp-includes\widgets.php (ligne 813) github
Filters the parameters passed to a widget's display callback. Note: The filter is evaluated on both the front end and back end, including for the Inactive Widgets sidebar on the Widgets screen.

Paramètres

Entrée :
$params
Sortie :
@param array $params {

Utilisation

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

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

Actualités

Chargement des actualités...