Prints the default annotation for the web host altering the "Update PHP" page URL.
Description
This function is to be used after wp_get_update_php_url() to display a consistent annotation if the web host has altered the default "Update PHP" page URL.
Parameters
$beforestringoptional
Markup to output before the annotation. Default <p class="description">.Default: '<p class="description">'
$afterstringoptional
Markup to output after the annotation. Default </p>.Default: '</p>'
$displaybooloptional
Whether to echo or return the markup. Default true for echo.Default: true
Return
string|null
Update PHP page annotation if available and $display is false, null otherwise.
Signature, return type and hooks compared across 5 parsed releases.
7.1.0
Return type changed from string|void to string|null.verified against source
6.4.0
Added the $display parameter.from the docblock
5.2.0
Added the $before and $after parameters.from the docblock
5.1.0
Introduced.from the docblock
About this page
Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-includes/functions.php, 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.