Filter to customize the description tip that appears under the description of each feature in the features settings page.
$desc_tip, $feature_id, $disabled
Sortie :
@param string $desc_tip The original description tip. @param string $feature_id The id of the feature for which the description tip is being customized. @param bool $disabled True if the UI currently prevents changing the enable/disable status of the feature. @return string The new description tip to use.
// Modifier la valeur avec le filtre 'woocommerce_feature_description_tip'
add_filter('woocommerce_feature_description_tip', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($desc_tip) {
// Modifier la valeur
return $desc_tip;
}
Chargement des actualités...