export_wp

動作鉤子
do_action( 'export_wp', $args )
引數
  • (array) $args An array of export arguments.
    Required:
定義位置
相關勾子
export_argsexport_wp_filenameexport_filterspre_wp_mail
相關方法
export_wpexport_add_jsstart_wpexport_date_optionsnext_postnext_posts
引入
2.3.0
棄用
-

export_wp – 這個函式用來匯出WordPress網站的內容,包括文章、頁面、自定義文章型別、評論、類別和標籤。匯出的資料可以儲存為XML檔案格式,可以使用WordPress匯入器工具匯入到另一個WordPress站點。

在輸出開始時,在傳送任何標頭檔案之前觸發。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
do_action( 'export_wp', $args );
do_action( 'export_wp', $args );
do_action( 'export_wp', $args );

常見問題

FAQs
檢視更多 >