apply_filters( 'wp_direct_php_update_url', string $direct_update_url )
- Since
- 5.1.1
Filters the URL for directly updating the PHP version the site is running on from the host.
Compatibility
- WordPress
- since 5.1.1
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$direct_update_urlstring- URL for directly updating PHP.
Where this hook fires · 1
wp-includes/functions.php:8543wp_get_direct_php_update_url()
Source code
* Filters the URL for directly updating the PHP version the site is running on from the host. * * @since 5.1.1 * * @param string $direct_update_url URL for directly updating PHP. */ $direct_update_url = apply_filters( 'wp_direct_php_update_url', $direct_update_url ); return $direct_update_url;} /** * Displays a button directly linking to a PHP update process.Changelog
Introduced in 5.1.1. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.8.8 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.