wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
wp_update_php_annotation › WordPress Function
Da5.1.0
Deprecaton/a
› wp_update_php_annotation ( $before = '<p class="description">', $after = '</p>', $display = true )
| Parametri: (3) |
|
| Ritorna: |
|
| Definito a: |
|
| Codex: | |
| ChangeLog: |
|
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.Funzioni correlate: wp_get_update_php_annotation, wp_update_post, update_option, wp_update_plugin, wp_update_link
Sorgenti
function wp_update_php_annotation( $before = '<p class="description">', $after = '</p>', $display = true ) {
$annotation = wp_get_update_php_annotation();
if ( ! $annotation ) {
return null;
}
if ( ! $display ) {
return $before . $annotation . $after;
}
echo $before . $annotation . $after;
}