automatic_updates_send_debug_email

過濾鉤子
apply_filters( 'automatic_updates_send_debug_email', $development_version )

automatic_updates_send_debug_email 是一個過濾鉤子,允許你控制自動更新系統是否在更新失敗時傳送除錯資訊。該鉤子接收一個布林值,表示系統是否應該傳送除錯資訊,並在需要時返回一個修改值。

過濾是否為每次自動後臺更新傳送除錯郵件。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
if ( apply_filters( 'automatic_updates_send_debug_email', $development_version ) ) {
if ( apply_filters( 'automatic_updates_send_debug_email', $development_version ) ) {
if ( apply_filters( 'automatic_updates_send_debug_email', $development_version ) ) {

常見問題

FAQs
檢視更多 >