首页 WordPress函数大全 discover_pingback_server_uri()

discover_pingback_server_uri()

2020-05-01 / 2087阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

discover_pingback_server_uri( string $url, int $deprecated = '' )

Finds a pingback server URI based>

Contents

  • Description
    • Parameters
    • Return
    • Source
    • Changelog
  • Related
    • Uses
    • Used By
  • User Contributed Notes

描述

Checks the HTML for the rel="pingback" link and x-pingback headers. It does a check for the x-pingback headers first and returns that, if available. The check for the rel="pingback" has more overhead than just the header.

参数

$url

(string)
(Required)
URL to ping.

$deprecated

(int)
(Optional)
Not Used.

Default value: ''

返回

(string|false) String containing URI on success, false on failure.

大家谈论
    我的见解