wp_update_php_url

FILTER wp-includes\functions.php (ligne 8490) github
Filters the URL to learn more about updating the PHP version the site is running on. Providing an empty string is not allowed and will result in the default URL being used. Furthermore the page the URL links to should preferably be localized in the site language.

Paramètres

Entrée :
$update_url
Sortie :
@param string $update_url URL to learn more about updating PHP.

Utilisation

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

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

Actualités

Chargement des actualités...