wp_signature_hosts

过滤钩子


apply_filters( 'wp_signature_hosts', array( 'wordpress.org', 'downloads.wordpress.org', 's.w.org' )
参数
  • (string[])
    $hostnames
    List of hostnames.
    Required:
定义位置
  • wp-admin/includes/file.php
    , line 1234
引入
5.2.0
弃用

Filters the list of hosts which should have Signature Verification attempted on.

$signed_hostnames = apply_filters( 'wp_signature_hosts', array( 'wordpress.org', 'downloads.wordpress.org', 's.w.org' ) );