wp_direct_php_update_url filter-hookWP 5.1.1

Filters the URL for directly updating the PHP version the site is running on from the host.

Usage

add_filter( 'wp_direct_php_update_url', 'wp_kama_direct_php_update_url_filter' );

/**
 * Function for `wp_direct_php_update_url` filter-hook.
 * 
 * @param string $direct_update_url URL for directly updating PHP.
 *
 * @return string
 */
function wp_kama_direct_php_update_url_filter( $direct_update_url ){

	// filter...
	return $direct_update_url;
}
$direct_update_url(string)
URL for directly updating PHP.

Changelog

Since 5.1.1 Introduced.

Where the hook is called

wp_get_direct_php_update_url()
wp_direct_php_update_url
wp-includes/functions.php 8377
$direct_update_url = apply_filters( 'wp_direct_php_update_url', $direct_update_url );

Where the hook is used in WordPress

Usage not found.