Get plugins that have a valid value for a specific header.
$matches, $header, $plugins
Sortie :
@param string $header Plugin header to search for. @return array Array of plugins that contain the searched header.
// Modifier la valeur avec le filtre 'woocommerce_get_plugins_with_header'
add_filter('woocommerce_get_plugins_with_header', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($matches) {
// Modifier la valeur
return $matches;
}
Chargement des actualités...