wp_update_php_annotation

函数


wp_update_php_annotation ( $before = '

', $after = '

' )

参数
  • (string)
    $before
    Markup to output before the annotation. Default `

    `.

    Required:
    Default:

  • (string)
    $after
    Markup to output after the annotation. Default “.
    Required:
    Default:
定义位置
  • wp-includes/functions.php
    , line 8010
引入
5.1.0
弃用

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

This function is to be used after {@see} to display a consistent
annotation if the web host has altered the default “Update PHP” page URL.

function wp_update_php_annotation( $before = '

', $after = '

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