wp_direct_update_https_url
Filters the URL for directly updating the PHP version the site is running on from the host.
Usage
add_filter( 'wp_direct_update_https_url', 'wp_kama_direct_update_https_url_filter' ); /** * Function for `wp_direct_update_https_url` filter-hook. * * @param string $direct_update_url URL for directly updating PHP. * * @return string */ function wp_kama_direct_update_https_url_filter( $direct_update_url ){ // filter... return $direct_update_url; }
- $direct_update_url(string)
- URL for directly updating PHP.
Changelog
Since 5.7.0 | Introduced. |
Where the hook is called
wp_direct_update_https_url
wp-includes/functions.php 8624
$direct_update_url = apply_filters( 'wp_direct_update_https_url', $direct_update_url );