wp_print_footer_scripts

動作鉤子
do_action( 'wp_print_footer_scripts' )

wp_print_footer_scripts: 這是一個在頁面底部輸出指令碼的動作。在這裡輸出的指令碼會在頁面的底部被載入,這可以使網站的載入速度更快,因為使用者在載入頁面時不會被阻塞。

列印頁尾指令碼時觸發。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
do_action( 'wp_print_footer_scripts' );
do_action( 'wp_print_footer_scripts' );
do_action( 'wp_print_footer_scripts' );

常見問題

FAQs
檢視更多 >