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', 'filter_function_name_3024' ); function filter_function_name_3024( $direct_update_url ){ // filter... return $direct_update_url; }
- $direct_update_url(строка)
- URL for directly updating PHP.
Список изменений
С версии 5.1.1 | Введена. |
Где вызывается хук
wp_direct_php_update_url
wp-includes/functions.php 7549
$direct_update_url = apply_filters( 'wp_direct_php_update_url', $direct_update_url );