首页 WordPress函数大全 fetch_feed()

fetch_feed()

2020-05-01 / 3734阅 / 悠然

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

fetch_feed( string|string[] $url )

Build SimplePie object based>

Contents

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

描述

参数

$url

(string|string[])
(Required)
URL of feed to retrieve. If an array of URLs, the feeds are merged using SimplePie's multifeed feature. See also http://simplepie.org/wiki/faq/typical_multifeed_gotchas

返回

(SimplePie|WP_Error) SimplePie object>WP_Error object on failure.

大家谈论
    我的见解