wp_direct_update_https_url хук-фильтрWP 5.7.0

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

Использование

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(строка)
URL for directly updating PHP.

Список изменений

С версии 5.7.0 Введена.

Где вызывается хук

wp_get_direct_update_https_url()
wp_direct_update_https_url
wp-includes/functions.php 8536
$direct_update_url = apply_filters( 'wp_direct_update_https_url', $direct_update_url );

Где используется хук в WordPress

Использование не найдено.