apply_filters( 'register', $registration_url )

register 是一個當使用者在WordPress網站上註冊時觸發的動作。這個鉤子通常被外掛或主題開發者用來在使用者註冊時執行額外的動作。

這個過濾器在wp-includes/general-template.php中有記載。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
echo apply_filters( 'register', $registration_url );
echo apply_filters( 'register', $registration_url );
echo apply_filters( 'register', $registration_url );

常見問題

FAQs
檢視更多 >