rss_update_frequency

過濾鉤子
apply_filters( 'rss_update_frequency', $frequency )
引數
  • (string) $frequency An integer passed as a string representing the frequency of RSS updates within the update period. Default '1'.
    Required:
定義位置
相關勾子
rss_update_periodupdate_feedbacksites_pre_queryparse_site_queryrest_pre_update_setting
相關方法
wp_update_userwp_update_coreupdate_corerest_validate_request_argcore_update_footerupdate_recently_edited
引入
2.1.0
棄用
-

rss_update_frequency。這個WordPress函式設定網站RSS提要的更新頻率。該頻率以秒為單位,可以設定為一個秒數,如3600(1小時)或86400(1天)。

過濾RSS Feed的更新頻率。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
echo apply_filters( 'rss_update_frequency', $frequency );
echo apply_filters( 'rss_update_frequency', $frequency );
echo apply_filters( 'rss_update_frequency', $frequency );

常見問題

FAQs
檢視更多 >