wp_update_https_url filter-hookWP 5.7.0

Filters the URL to learn more about updating the HTTPS 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.

Usage

add_filter( 'wp_update_https_url', 'wp_kama_update_https_url_filter' );

/**
 * Function for `wp_update_https_url` filter-hook.
 * 
 * @param string $update_url URL to learn more about updating HTTPS.
 *
 * @return string
 */
function wp_kama_update_https_url_filter( $update_url ){

	// filter...
	return $update_url;
}
$update_url(string)
URL to learn more about updating HTTPS.

Changelog

Since 5.7.0 Introduced.

Where the hook is called

wp_get_update_https_url()
wp_update_https_url
wp-includes/functions.php 8139
$update_url = apply_filters( 'wp_update_https_url', $update_url );

Where the hook is used in WordPress

Usage not found.