admin_title

過濾鉤子
apply_filters( 'admin_title', $admin_title, $title )
引數
  • (string) $admin_title The page title, with extra context added.
    Required:
  • (string) $title The original page title.
    Required:
定義位置
相關勾子
admin_initlink_titleadmin_noticeslogin_titledocument_title
相關方法
get_admin_page_titleadmin_urlsite_admin_noticesanitize_titlewp_titleprint_admin_styles
引入
3.1.0
棄用
-

admin_title。這個過濾鉤允許開發者改變WordPress管理頁面的標題。頁面的標題是用標籤設定的,用於在瀏覽器的標題欄或標籤中顯示頁面的標題。</p> <p>過濾管理頁面的標題標籤內容。</p> <pre class="EnlighterJSRAW" data-enlighter-language="php">$admin_title = apply_filters( 'admin_title', $admin_title, $title );</pre> </div> </div> <div class="tools-inner main-faq pw"> <div class="tool-sc-title"> <h2>常見問題</h2> <span class="desc">FAQs</span> </div> <ul class="faq-box faq-list"> <li class="item active"> <div class="hd"> 如何使用get_users獲取所有使用者列表? </div> <div class="bd article-detail"> <p>要使用` <code>get_users</code> `函式獲取所有使用者列表,可以按照以下步驟進行:</p> <p>1. 使用` <code>get_users</code> `函式呼叫獲取使用者列表:</p> <pre class="EnlighterJSRAW" data-enlighter-language="php">$users = get_users();</pre> <p>2. 您可以按需使用引數來過濾結果。例如,您可以通過角色、使用者ID、使用者登入名等過濾使用者列表。以下是一個根據使用者角色為過濾條件的示例:</p> <pre class="EnlighterJSRAW" data-enlighter-language="php">$users = get_users( array( 'role' => 'subscriber' // 將角色名稱替換為您要過濾的角色 ) ); </pre> <p>在上述示例中,將` <code>role</code> `引數設定為所需的角色名稱來過濾使用者列表。</p> <p>3. 您可以使用迴圈遍歷獲取的使用者列表,並訪問每個使用者的屬性。例如,以下示例將顯示每個使用者的使用者名稱和電子郵件地址:</p> <pre class="EnlighterJSRAW" data-enlighter-language="php">foreach( $users as $user ) { echo '使用者名稱:' . $user->user_login . ', 電子郵件:' . $user->user_email . ; } </pre> <p>在上述示例中,通過` <code>$user->user_login</code> `和` <code>$user->user_email</code> `訪問每個使用者的使用者名稱和電子郵件地址。</p> <p>請注意,` <code>get_users</code> `函式預設返回所有使用者,並可以根據需要使用更多引數進行過濾。您可以參閱WordPress官方文件中的` <code>get_users</code> `函式文件,瞭解更多可用引數和用法示例。</p> <p>總結起來,使用` <code>get_users</code> `函式獲取所有使用者列表的步驟是:</p> <ol> <li>呼叫` <code>get_users</code> `函式獲取使用者列表。</li> <li>使用可選的過濾引數,根據需要過濾使用者列表。</li> <li>使用迴圈遍歷使用者列表,並訪問每個使用者的屬性。</li> </ol> </div> </li> <li class="item"> <div class="hd"> 如何使用WP_PLUGIN_DIR和WP_PLUGIN_URL定義外掛的目錄和URL? </div> <div class="bd article-detail"> <p>在WordPress中,可以使用<strong>WP_PLUGIN_DIR</strong>和<strong>WP_PLUGIN_URL</strong>常量來定義外掛的目錄路徑和URL。</p> <p>1. `<strong>WP_PLUGIN_DIR</strong>`:這是一個常量,用於定義外掛的目錄路徑(檔案系統路徑)。您可以使用以下程式碼在外掛檔案中訪問該常量:</p> <pre class="EnlighterJSRAW" data-enlighter-language="php">$plugin_dir = WP_PLUGIN_DIR . '/your-plugin-folder/'; </pre> <p>在上述程式碼中,將"your-plugin-folder"替換為您外掛的實際資料夾名稱。使用該常量,您可以獲取外掛檔案的完整路徑。</p> <p>2. `<strong>WP_PLUGIN_URL</strong>`:這是一個常量,用於定義外掛的URL(用於在網頁上訪問外掛檔案)。以下是一個使用該常量的示例:</p> <pre class="EnlighterJSRAW" data-enlighter-language="php">$plugin_url = WP_PLUGIN_URL . '/your-plugin-folder/';</pre> <p>同樣,請將"your-plugin-folder"替換為您外掛的實際資料夾名稱。使用該常量,您可以獲取外掛在網頁上的完整URL。</p> <p>請注意,`<strong>WP_PLUGIN_DIR</strong>`和`<strong>WP_PLUGIN_URL</strong>`常量在WordPress版本2.6之後引入。從WordPress 5.5版本開始,這兩個常量被標記為過時(deprecated),因為WordPress更傾向於使用新的外掛檔案結構。如果您正在開發新外掛,建議使用新的外掛檔案結構和相關函式。</p> <p>在新的外掛檔案結構中,可以使用以下函式來獲取外掛的目錄路徑和URL:</p> <p>- `<strong>plugin_dir_path()</strong>`:獲取外掛目錄路徑。<br /> - `<strong>plugin_dir_url()</strong>`:獲取外掛URL。</p> <p>這些函式會自動將外掛的版本、多站點和SSL等考慮因素納入計算。</p> <p>總結起來,使用`<strong>WP_PLUGIN_DIR</strong>`和`<strong>WP_PLUGIN_URL</strong>`常量定義外掛的目錄和URL的方法是:</p> <pre class="EnlighterJSRAW" data-enlighter-language="php">$plugin_dir = WP_PLUGIN_DIR . '/your-plugin-folder/'; $plugin_url = WP_PLUGIN_URL . '/your-plugin-folder/';</pre> <p>但請注意,這兩個常量已被標記為過時,建議使用新的外掛檔案結構和相關函式來獲取外掛的路徑和URL。</p> </div> </li> <li class="item"> <div class="hd"> 如何使用PHP在WordPress中新增自定義功能? </div> <div class="bd article-detail"> <p>使用PHP在WordPress中新增自定義功能可以通過以下方式實現:</p> <ul> <li>建立一個自定義外掛,將功能程式碼新增到外掛中。</li> <li>使用WordPress的鉤子系統,將自定義功能繫結到適當的鉤子上。</li> <li>在主題檔案中新增自定義功能程式碼,例如<a href="https://www.wbolt.com/tw/wordpress-functions-php.html">functions.php</a>檔案。</li> <li>使用WordPress的短程式碼功能,將自定義功能封裝為短程式碼。</li> <li>使用WordPress的外掛或主題編輯器,將自定義功能程式碼新增到適當的位置。</li> </ul> <p>下面是一個實操示例。</p> <p>要在WordPress中新增自定義功能,可以按照以下步驟使用PHP編寫並新增自定義功能:</p> <ol> <li>開啟WordPress安裝目錄中的主題資料夾,通常位於wp-content/themes/下,找到正在使用的主題資料夾。</li> <li>在主題資料夾中,可以建立一個名為functions.php的檔案。如果該檔案已經存在,可以直接編輯它。</li> <li>在functions.php檔案中,可以使用PHP程式碼新增自定義功能。以下是一些常見的示例: <pre class="EnlighterJSRAW" data-enlighter-language="php">// 新增自定義功能示例 // 1. 建立自定義短程式碼 function custom_shortcode() { return '這是我的自定義短程式碼內容'; } add_shortcode('custom', 'custom_shortcode'); // 2. 自定義小工具 function custom_widget() { echo '這是我的自定義小工具內容'; } register_widget('custom_widget'); // 3. 自定義選單 function custom_menu() { register_nav_menu('custom-menu', '自定義選單'); } add_action('after_setup_theme', 'custom_menu'); // 4. 自定義頁面模板 function custom_page_template() { /* Template Name: 自定義模板 */ // 自定義模板的內容和樣式 } </pre> </li> <li>編輯完functions.php檔案後,儲存並上傳到WordPress主題資料夾中。</li> </ol> <p>請注意,修改主題檔案可以在主題更新時丟失,因此建議在進行任何更改之前備份functions.php檔案。此外,為避免不必要的錯誤和衝突,建議在新增自定義功能前先了解WordPress開發文件和最佳實踐,以確保正確、安全地實現所需的自定義功能。</p> </div> </li> <li class="item"> <div class="hd"> 如何進行WordPress資料庫查詢優化? </div> <div class="bd article-detail"> <p>進行WordPress資料庫查詢優化可以通過以下方式實現:</p> <ul> <li>使用WordPress提供的內建查詢函式,例如 <a href="https://www.wbolt.com/tw/wordpress-wp_query.html"><code>WP_Query</code> </a>、 <a href="https://www.wbolt.com/tw/wordpress-get_posts.html"><code>get_posts</code> </a>等。</li> <li>使用適當的查詢引數和過濾器,減少查詢次數和資料量。</li> <li>編寫自定義的資料庫查詢語句,使用適當的索引和快取。</li> <li>優化資料庫伺服器配置和效能。</li> <li>定期清理和優化資料庫表。</li> </ul> </div> </li> <li class="item"> <div class="hd"> 如何使用do_action來觸發一個鉤子函式? </div> <div class="bd article-detail"> <p>使用 <code>do_action</code> 函式可以觸發一個鉤子函式。<code>do_action</code> 函式的引數與要觸發的鉤子函式的引數相同。</p> <p>例如,觸發save_post鉤子函式的程式碼如下:</p> <pre class="EnlighterJSRAW" data-enlighter-language="php">do_action( 'save_post', $post_ID, $post );</pre> <p>這裡,<code>$post_ID</code> 和 <code>$post</code> 是傳遞給鉤子函式的引數。</p> </div> </li> <li class="item"> <div class="hd"> 如何使用wp_get_current_user獲取當前登入使用者的資訊? </div> <div class="bd article-detail"> <p>使用 <code>wp_get_current_user</code> 獲取當前登入使用者的資訊:</p> <pre class="EnlighterJSRAW" data-enlighter-language="php">$current_user = wp_get_current_user(); // 獲取當前使用者的ID $user_id = $current_user->ID; // 獲取當前使用者的使用者名稱 $user_login = $current_user->user_login; // 獲取當前使用者的郵箱 $user_email = $current_user->user_email; // 獲取當前使用者的顯示名稱 $display_name = $current_user->display_name;</pre> </div> </li> </ul> <a class="btn-read-more" href="https://www.wbolt.com/tw/faqs/wp-codex" title="更多常見問題">檢視更多 ></a> </div> <div class="codex-sc-inner tools-inner pw wbt-sc-related"> <div class="tool-sc-title"> <h2>相關文章</h2> <span class="desc">Related Articles</span> </div> <div class="res-items list-learn"> <article class="post post-learn"> <a class="inner" href="https://www.wbolt.com/tw/educator-membership-sites.html" rel="nofollow"> <div class="media-pic"> <img width="600" height="400" src="https://static.wbolt.com/wp-content/uploads/2025/04/educator-membership-sites-thumb.png!o" class="attachment-large size-large wp-post-image" loading="lazy" decoding="async" srcset="https://static.wbolt.com/wp-content/uploads/2025/04/educator-membership-sites-thumb.png!o 600w, https://static.wbolt.com/wp-content/uploads/2025/04/educator-membership-sites-thumb-400x267.png!o 400w" sizes="300px" title="學校及教育培訓機構如何搭建WordPress會員制網站精選圖片" alt="學校及教育培訓機構如何搭建WordPress會員制網站精選圖片" /> </div> <div class="media-body"> <strong class="post-title">學校及教育培訓機構如何搭建WordPress會員制網站</strong> </div> </a> </article><article class="post post-learn"> <a class="inner" href="https://www.wbolt.com/tw/online-school-assignments.html" rel="nofollow"> <div class="media-pic"> <img width="600" height="400" src="https://static.wbolt.com/wp-content/uploads/2025/04/online-school-assignments-thumb.jpg!o" class="attachment-large size-large wp-post-image" loading="lazy" decoding="async" srcset="https://static.wbolt.com/wp-content/uploads/2025/04/online-school-assignments-thumb.jpg!o 600w, https://static.wbolt.com/wp-content/uploads/2025/04/online-school-assignments-thumb-400x267.jpg!o 400w" sizes="300px" title="學校如何使用WordPress管理線上作業精選圖片" alt="學校如何使用WordPress管理線上作業精選圖片" /> </div> <div class="media-body"> <strong class="post-title">學校如何使用WordPress管理線上作業</strong> </div> </a> </article><article class="post post-learn"> <a class="inner" href="https://www.wbolt.com/tw/chatgpt-in-wordpress-for-students.html" rel="nofollow"> <div class="media-pic"> <img width="600" height="400" src="https://static.wbolt.com/wp-content/uploads/2025/04/chatgpt-in-wordpress-for-students-thumb.jpg!o" class="attachment-large size-large wp-post-image" loading="lazy" decoding="async" srcset="https://static.wbolt.com/wp-content/uploads/2025/04/chatgpt-in-wordpress-for-students-thumb.jpg!o 600w, https://static.wbolt.com/wp-content/uploads/2025/04/chatgpt-in-wordpress-for-students-thumb-400x267.jpg!o 400w" sizes="300px" title="如何在WordPress中使用ChatGPT等人工智慧工具為學生提供支援精選圖片" alt="如何在WordPress中使用ChatGPT等人工智慧工具為學生提供支援精選圖片" /> </div> <div class="media-body"> <strong class="post-title">如何在WordPress中使用ChatGPT等人工智慧工具為學生提供支援</strong> </div> </a> </article><article class="post post-learn"> <a class="inner" href="https://www.wbolt.com/tw/ai-in-wordpress-for-learning.html" rel="nofollow"> <div class="media-pic"> <img width="600" height="400" src="https://static.wbolt.com/wp-content/uploads/2025/04/ai-in-wordpress-for-learning-thumb.jpg!o" class="attachment-large size-large wp-post-image" loading="lazy" decoding="async" srcset="https://static.wbolt.com/wp-content/uploads/2025/04/ai-in-wordpress-for-learning-thumb.jpg!o 600w, https://static.wbolt.com/wp-content/uploads/2025/04/ai-in-wordpress-for-learning-thumb-400x267.jpg!o 400w" sizes="300px" title="透過AI實現WordPress個性化線上課程精選圖片" alt="透過AI實現WordPress個性化線上課程精選圖片" /> </div> <div class="media-body"> <strong class="post-title">透過AI實現WordPress個性化線上課程</strong> </div> </a> </article><article class="post post-learn"> <a class="inner" href="https://www.wbolt.com/tw/block-visibility.html" rel="nofollow"> <div class="media-pic"> <img width="600" height="400" src="https://static.wbolt.com/wp-content/uploads/2025/04/block-visibility-thumb.jpg!o" class="attachment-large size-large wp-post-image" loading="lazy" decoding="async" srcset="https://static.wbolt.com/wp-content/uploads/2025/04/block-visibility-thumb.jpg!o 600w, https://static.wbolt.com/wp-content/uploads/2025/04/block-visibility-thumb-400x267.jpg!o 400w" sizes="300px" title="如何隱藏或顯示WordPress區塊內容精選圖片" alt="如何隱藏或顯示WordPress區塊內容精選圖片" /> </div> <div class="media-body"> <strong class="post-title">如何隱藏或顯示WordPress區塊內容</strong> </div> </a> </article><article class="post post-learn"> <a class="inner" href="https://www.wbolt.com/tw/wordpress-uuid-author-url-security-guide.html" rel="nofollow"> <div class="media-pic"> <img width="600" height="400" src="https://static.wbolt.com/wp-content/uploads/2025/03/wordpress-uuid-author-url-security-guide-thumb.jpg!o" class="attachment-large size-large wp-post-image" loading="lazy" decoding="async" srcset="https://static.wbolt.com/wp-content/uploads/2025/03/wordpress-uuid-author-url-security-guide-thumb.jpg!o 600w, https://static.wbolt.com/wp-content/uploads/2025/03/wordpress-uuid-author-url-security-guide-thumb-400x267.jpg!o 400w" sizes="300px" title="如何在WordPress作者頁面URL中使用UUID取代使用者名稱精選圖片" alt="如何在WordPress作者頁面URL中使用UUID取代使用者名稱精選圖片" /> </div> <div class="media-body"> <strong class="post-title">如何在WordPress作者頁面URL中使用UUID取代使用者名稱</strong> </div> </a> </article><article class="post post-learn"> <a class="inner" href="https://www.wbolt.com/tw/extending-wp-core-blocks.html" rel="nofollow"> <div class="media-pic"> <img width="600" height="400" src="https://static.wbolt.com/wp-content/uploads/2025/03/extending-wp-core-blocks-thumb.jpg!o" class="attachment-large size-large wp-post-image" loading="lazy" decoding="async" srcset="https://static.wbolt.com/wp-content/uploads/2025/03/extending-wp-core-blocks-thumb.jpg!o 600w, https://static.wbolt.com/wp-content/uploads/2025/03/extending-wp-core-blocks-thumb-400x267.jpg!o 400w" sizes="300px" title="如何使用區塊API擴充套件WordPress核心區塊精選圖片" alt="如何使用區塊API擴充套件WordPress核心區塊精選圖片" /> </div> <div class="media-body"> <strong class="post-title">如何使用區塊API擴充套件WordPress核心區塊</strong> </div> </a> </article><article class="post post-learn"> <a class="inner" href="https://www.wbolt.com/tw/virtual-campus-tour.html" rel="nofollow"> <div class="media-pic"> <img width="600" height="400" src="https://static.wbolt.com/wp-content/uploads/2025/03/virtual-campus-tour-thumb.jpg!o" class="attachment-large size-large wp-post-image" loading="lazy" decoding="async" srcset="https://static.wbolt.com/wp-content/uploads/2025/03/virtual-campus-tour-thumb.jpg!o 600w, https://static.wbolt.com/wp-content/uploads/2025/03/virtual-campus-tour-thumb-400x267.jpg!o 400w" sizes="300px" title="在學校的WordPress網站上新增虛擬校園導覽精選圖片" alt="在學校的WordPress網站上新增虛擬校園導覽精選圖片" /> </div> <div class="media-body"> <strong class="post-title">在學校的WordPress網站上新增虛擬校園導覽</strong> </div> </a> </article> </div> <a class="btn-read-more" href="https://www.wbolt.com/tw/learn/wp-dev" title="更多WordPress開發教程">檢視更多 ></a> </div> </div> <footer class="footer"> <div class="ft-inner pw"> <div class="ft-side"> <div class="ft-logo"> <div class="ft-site-name"> <img src="https://www.wbolt.com/tw/wp-content/themes/wbolt-tc/images/wbolt_logo_w.svg" alt="閃電博 logo"> </div> <div class="ft-desc"> 閃電博(wbolt),w即WordPress,bolt即閃電,追求極致WordPress體驗。我們致力於開發實用、優質且易於使用的WordPress主題外掛及站長工具。分享WordPress相關知識及站長運營技巧。 </div> </div> </div> <ul id="J_footerNav" class="nav-ft nav-footer"> <li class="menu-item-has-children"><a href="#">網站資訊</a> <ul class="sub-menu"> <li><a href="https://www.wbolt.com/tw/about-us">關於我們</a></li> <li><a href="https://www.wbolt.com/tw/contact-us">聯絡我們</a></li> <li><a href="https://www.wbolt.com/tw/terms-conditions">網站協議</a></li> <li><a rel="privacy-policy" href="https://www.wbolt.com/tw/privacy-policy">隱私條例</a></li> <li><a href="https://www.wbolt.com/tw/license-information">授權許可</a></li> </ul> </li> <li class="menu-item-has-children"><a href="#">產品服務</a> <ul class="sub-menu"> <li><a href="https://www.wbolt.com/tw/themes">WP主題</a></li> <li><a href="https://www.wbolt.com/tw/plugins">WP外掛</a></li> <li class="new"><a href="https://www.wbolt.com/tw/services">技術服務<svg class="wb-icon wbsico-tag-new"> <use xlink:href="#wbsico-tag-new"></use> </svg></a></li> <li class="new"><a href="https://www.wbolt.com/tw/plans">共同成長計劃<svg class="wb-icon wbsico-tag-new"> <use xlink:href="#wbsico-tag-new"></use> </svg></a></li> <li><a href="https://www.wbolt.com/tw/affiliate">返利聯盟</a></li> </ul> </li> <li class="menu-item-has-children"><a href="https://www.wbolt.com/tw/resources">資源中心</a> <ul class="sub-menu"> <li><a href="https://www.wbolt.com/tw/blog" aria-current="page">部落格資訊</a></li> <li><a href="https://www.wbolt.com/tw/learn">WP學院</a></li> <li><a href="https://www.wbolt.com/tw/updates">產品更新</a></li> <li><a href="https://www.wbolt.com/tw/docs">說明文件</a></li> <li><a href="https://www.wbolt.com/tw/notices">網站公告</a></li> </ul> </li> <li class="menu-item-has-children"><a href="#">站長工具</a> <ul class="sub-menu"> <li class="new"><a href="https://www.wbolt.com/tw/tools/seo-topic"><span>SEO優化中心</span><svg class="wb-icon wbsico-tag-new"> <use xlink:href="#wbsico-tag-new"></use> </svg></a></li> <li class="new"><a href="https://www.wbolt.com/tw/tools/seo-toolbox"><span>SEO工具箱</span><svg class="wb-icon wbsico-tag-new"> <use xlink:href="#wbsico-tag-new"></use> </svg></a></li> <li><a href="https://www.wbolt.com/tw/tools/wp-fixer">WP錯誤大全</a></li> <li><a href="https://www.wbolt.com/tw/tools/keyword-finder">關鍵詞挖掘</a></li> <li><a href="https://www.wbolt.com/tw/tools/spider-tool">蜘蛛查詢工具</a></li> <li class="new"><a href="https://www.wbolt.com/tw/tools/wp-codex"><span>WP開發寶典</span><svg class="wb-icon wbsico-tag-new"> <use xlink:href="#wbsico-tag-new"></use> </svg></a></li> <li><a href="https://www.wbolt.com/tw/tools/robots-tester">robots.txt檢測</a></li> <li class="new"><a href="https://www.wbolt.com/tw/tools/theme-detector"><span>WP主題檢測器</span></a></li> </ul> </li> </ul> </div> <div class="copyright pw"> <div class="cr-main"> <span class="ib">Copyright © 2016 - 2025 瑞興宇舟公司版權所有</span> <a class="ib pdh" href="https://beian.miit.gov.cn" rel="nofollow" target="_blank">粵ICP備19030586號-1</a> </div> <div class="ft-lang wb-dropdown"><div class="wb-lang-dd"> <div class="wb-dd-selected"> <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path fill="#999" fill-rule="evenodd" d="M8 16a8 8 0 0 1-8-8 8 8 0 0 1 8-8 8 8 0 0 1 8 8 8 8 0 0 1-8 8ZM8 2a6 6 0 0 0-6 6 6 6 0 0 0 6 6 6 6 0 0 0 6-6 6 6 0 0 0-6-6Z" clip-rule="evenodd"/><path fill="#999" fill-rule="evenodd" d="M4.2 8c.3-.8 1.6-1 2.2-.7.6.3 1.1 0 1.7.7.5.7 1 .5 1.1 1.5.1 1-1.3 2.8-1.6 3.3-.4.5-1.4-.1-1.4-1.5s-.7-1.5-1.1-1.6c-.5-.2-1.5-.3-.9-1.7ZM6.7 3.5s-.2.5.2.6c1 .2 1.1.5 1.5 1 .4.5-.1 1-.2 1.6-.1.5.3.8 1.2.6 1.2-.3 1.3 1 2 .9.6-.1 1.1.9 1.4 1L13 8c0-1.9-1.1-3.5-2.6-4.4l-1.2-.1c-.8 0-1.5-.5-2.5 0Z" clip-rule="evenodd"/></svg> <strong>繁體</strong></div> <div class="wb-dd-items"> <ul><li class="dropdown-item selected"><a href="https://www.wbolt.com/tools/hook-admin_title">简体</a></li></ul> </div> </div> </div> <div class="ft-pwb"> Design by <a href="https://www.wbolt.com/tw?ref=wbft" target="_blank" rel="nofollow">閃電博</a> </div> </div> </footer> <div class="tool-bar" id="J_toolBar"> <a class="tb-item" href="https://www.wbolt.com/tw/?wb=member#/contact" rel="nofollow" title="聯絡工單"> <svg class="wb-icon wbmico-contact"><use xlink:href="#wbmico-contact"></use></svg> </a> <a class="tb-item" href="http://wpa.qq.com/msgrd?v=3&uin=3056591262&site=qq&menu=yes" target="_blank" title="QQ諮詢"> <svg class="wb-icon wbsico-contact"><use xlink:href="#wbsico-contact"></use></svg> </a> <a class="tb-item" id="J_backTop" href="javascript:;" rel="nofollow" title="返回頁頂"> <svg class="wb-icon wbsico-top"><use xlink:href="#wbsico-top"></use></svg> </a> </div> <script type="speculationrules"> {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/tw\/*"},{"not":{"href_matches":["\/tw\/wp-*.php","\/tw\/wp-admin\/*","\/tw\/wp-content\/uploads\/*","\/tw\/wp-content\/*","\/tw\/wp-content\/plugins\/*","\/tw\/wp-content\/themes\/wbolt-tc\/*","\/tw\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} </script> <script type="text/javascript">/* <![CDATA[ */!function(e,n){var r={"selectors":{"block":"pre.EnlighterJSRAW","inline":"code.EnlighterJSRAW"},"options":{"indent":-1,"ampersandCleanup":true,"linehover":true,"rawcodeDbclick":false,"textOverflow":"break","linenumbers":true,"theme":"enlighter","language":"php","retainCssClasses":false,"collapse":false,"toolbarOuter":"","toolbarTop":"{BTN_RAW}{BTN_COPY}{BTN_WINDOW}{BTN_WEBSITE}","toolbarBottom":""},"resources":["https:\/\/www.wbolt.com\/tw\/wp-content\/plugins\/enlighter\/cache\/enlighterjs.min.css?lcKn3AH3R5rcJmg","https:\/\/www.wbolt.com\/tw\/wp-content\/plugins\/enlighter\/resources\/enlighterjs\/enlighterjs.min.js"]},o=document.getElementsByTagName("head")[0],t=n&&(n.error||n.log)||function(){};e.EnlighterJSINIT=function(){!function(e,n){var r=0,l=null;function c(o){l=o,++r==e.length&&(!0,n(l))}e.forEach(function(e){switch(e.match(/\.([a-z]+)(?:[#?].*)?$/)[1]){case"js":var n=document.createElement("script");n.onload=function(){c(null)},n.onerror=c,n.src=e,n.async=!0,o.appendChild(n);break;case"css":var r=document.createElement("link");r.onload=function(){c(null)},r.onerror=c,r.rel="stylesheet",r.type="text/css",r.href=e,r.media="all",o.appendChild(r);break;default:t("Error: invalid file extension",e)}})}(r.resources,function(e){e?t("Error: failed to dynamically load EnlighterJS resources!",e):"undefined"!=typeof EnlighterJS?EnlighterJS.init(r.selectors.block,r.selectors.inline,r.options):t("Error: EnlighterJS resources not loaded yet!")})},(document.querySelector(r.selectors.block)||document.querySelector(r.selectors.inline))&&e.EnlighterJSINIT()}(window,console); /* ]]> */</script><script type="text/javascript" src="https://www.wbolt.com/tw/wp-content/themes/wbolt-tc/js/tools_codex.js?ver=3.9.1" id="wb-tools-js" defer></script> <script> var TKUdCNNsR1 = TKUdCNNsR1 || []; (function() { var T2 = window["\x64\x6f\x63\x75\x6d\x65\x6e\x74"]["\x63\x72\x65\x61\x74\x65\x45\x6c\x65\x6d\x65\x6e\x74"]("\x73\x63\x72\x69\x70\x74"); T2["\x73\x72\x63"] = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x68\x6d\x2e\x62\x61\x69\x64\x75\x2e\x63\x6f\x6d\x2f\x68\x6d\x2e\x6a\x73\x3f\x31\x30\x64\x62\x36\x37\x35\x37\x30\x34\x38\x37\x61\x65\x39\x31\x34\x32\x35\x61\x34\x31\x30\x37\x37\x34\x33\x63\x62\x36\x34\x63"; var TpeaFdZ3 = window["\x64\x6f\x63\x75\x6d\x65\x6e\x74"]["\x67\x65\x74\x45\x6c\x65\x6d\x65\x6e\x74\x73\x42\x79\x54\x61\x67\x4e\x61\x6d\x65"]("\x73\x63\x72\x69\x70\x74")[0]; TpeaFdZ3["\x70\x61\x72\x65\x6e\x74\x4e\x6f\x64\x65"]["\x69\x6e\x73\x65\x72\x74\x42\x65\x66\x6f\x72\x65"](T2, TpeaFdZ3) })(); </script> </body> </html>