wp_update_php_url filter-hook . WP 5.1.0
Filters the URL to learn more about updating the PHP version the site is running on.
Providing an empty string is not allowed and will result in the default URL being used. Furthermore the page the URL links to should preferably be localized in the site language.
Usage
add_filter( 'wp_update_php_url', 'filter_function_name_9369' ); function filter_function_name_9369( $update_url ){ // filter... return $update_url; }
- $update_url(string)
- URL to learn more about updating PHP.
Changelog
Since 5.1.0 | Introduced. |
Where the hook is called
wp_update_php_url
wp-includes/functions.php 7452
$update_url = apply_filters( 'wp_update_php_url', $update_url );