wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_update_php_annotation › WordPress Function
Since5.1.0
Deprecatedn/a
› wp_update_php_annotation ( $before = '<p class="description">', $after = '</p>', $display = true )
| Parameters: (3) |
|
| Returns: |
|
| Defined at: |
|
| Codex: | |
| Change Log: |
|
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.Related Functions: wp_get_update_php_annotation, wp_update_post, update_option, wp_update_plugin, wp_update_link
Source
function wp_update_php_annotation( $before = '<p class="description">', $after = '</p>', $display = true ) {
$annotation = wp_get_update_php_annotation();
if ( $annotation ) {
if ( $display ) {
echo $before . $annotation . $after;
} else {
return $before . $annotation . $after;
}
}
return null;
}