Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_update_php_annotation ›

Desde5.1.0
Obsoleton/a
wp_update_php_annotation ( $before = '<p class="description">', $after = '</p>' )
Parâmetros: (2)
  • (string) $before Markup to output before the annotation. Default `&lt;p class=&quot;description&quot;&gt;`.
    Required: No
    Padrão: '<p class="description">'
  • (string) $after Markup to output after the annotation. Default `&lt;/p&gt;`.
    Required: No
    Padrão: '</p>'
Definido em:
Codex:
Log de mudanças:
  • 5.2.0

Prints the default annotation for the web host altering the "Update PHP" page URL.

This function is to be used after Ver página de detalhe para wp_get_update_php_url »

" href="https://pt.wpseek.com/function/wp_get_update_php_url/">wp_get_update_php_url to display a consistent annotation if the web host has altered the default "Update PHP" page URL.



Fonte

function wp_update_php_annotation( $before = '<p class="description">', $after = '</p>' ) {
	$annotation = wp_get_update_php_annotation();

	if ( $annotation ) {
		echo $before . $annotation . $after;
	}
}