wp_direct_php_update_url хук-фильтрWP 5.1.1

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

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

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

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

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

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

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

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

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