do_activate_header

函式
do_activate_header ( No parameters )

do_activate_header。這個鉤子用於輸出啟用頁面的標題。它是在啟用一個外掛的過程中使用的。

新增一個針對此頁面的動作鉤子。

在{@see ‘wp_head’}上啟動。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function do_activate_header() {
/**
* Fires before the Site Activation page is loaded.
*
* Fires on the {@see 'wp_head'} action.
*
* @since 3.0.0
*/
do_action( 'activate_wp_head' );
}
function do_activate_header() { /** * Fires before the Site Activation page is loaded. * * Fires on the {@see 'wp_head'} action. * * @since 3.0.0 */ do_action( 'activate_wp_head' ); }
function do_activate_header() {
	/**
	 * Fires before the Site Activation page is loaded.
	 *
	 * Fires on the {@see 'wp_head'} action.
	 *
	 * @since 3.0.0
	 */
	do_action( 'activate_wp_head' );
}

常見問題

FAQs
檢視更多 >