phone_content

過濾鉤子
apply_filters( 'phone_content', $content )
引數
  • (string) $content The email content.
    Required:
定義位置
相關勾子
the_contentthe_content_feedembed_contentthe_editor_contentthe_content_export
相關方法
the_contentthe_content_rssget_the_contentthe_content_feedforce_ssl_contentwp_new_comment
引入
1.2.0
棄用
-

phone_content 是一個鉤子,當一個網站的手機版本的內容被生成時被呼叫。這個鉤子用於修改網站的內容,以便在手機上顯示。

在儲存之前過濾通過電子郵件提交的文章的內容。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$post_content = apply_filters( 'phone_content', $content );
$post_content = apply_filters( 'phone_content', $content );
$post_content = apply_filters( 'phone_content', $content );

常見問題

FAQs
檢視更多 >