theme_auto_update_debug_string

過濾鉤子
apply_filters( 'theme_auto_update_debug_string', $auto_updates_string, $active_theme, $enabled )

theme_auto_update_debug_string是一個WordPress的過濾鉤子,它允許開發者修改WordPress中啟用自動主題更新功能時顯示的除錯字串。

這個過濾器在wp-admin/includes/class-wp-debug-data.php中有記載。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$auto_updates_string = apply_filters( 'theme_auto_update_debug_string', $auto_updates_string, $active_theme, $enabled );
$auto_updates_string = apply_filters( 'theme_auto_update_debug_string', $auto_updates_string, $active_theme, $enabled );
$auto_updates_string = apply_filters( 'theme_auto_update_debug_string', $auto_updates_string, $active_theme, $enabled );

常見問題

FAQs
檢視更多 >