Uses
| Uses | Description |
|---|---|
| wp-includes/functions.php: wp_get_update_php_annotation() | Returns the default annotation for the web hosting altering the “Update PHP” page URL. |
Prints the default annotation for the web host altering the “Update PHP” page URL.
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.
(string) (Optional) Markup to output before the annotation. Default <p class="description">.
Default value: '<p class="description">'
(string) (Optional) Markup to output after the annotation. Default </p>.
Default value: '</p>'
File: wp-includes/functions.php
function wp_update_php_annotation( $before = '<p class="description">', $after = '</p>' ) {
$annotation = wp_get_update_php_annotation();
if ( $annotation ) {
echo $before . $annotation . $after;
}
} | Version | Description |
|---|---|
| 5.2.0 | Added the $before and $after parameters. |
| 5.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_update_php_annotation