twentytwenty_get_the_archive_title_regex

過濾鉤子
引數
  • (array) $regex An array of regular expression pattern and replacement.
    Required:
    Default:
定義位置
  • wp-content/themes/twentytwenty/inc/template-tags.php , line 769
相關勾子
get_the_archive_title_prefixget_the_archive_titletwentytwenty_customize_opacity_rangetwentytwenty_get_elements_arraytwentytwenty_get_localized_font_family_elements
相關方法
get_the_archive_titlethe_archive_titlepost_type_archive_titleget_the_archive_descriptionget_the_title_rssget_post_type_archive_template
引入
Twenty Twenty 1.0
棄用
-

twenty_get_the_archive_title_regex 是WordPress主題Twenty Twenty中的一個函式。它返回一個正規表示式,用於從檔案頁的標題中提取檔案標題。

過濾用於樣式化第一個冒號之前的單詞的正規表示式。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$regex = apply_filters(
$regex = apply_filters(
$regex = apply_filters(

常見問題

FAQs
檢視更多 >