theme_auto_update_setting_html

過濾鉤子
apply_filters( 'theme_auto_update_setting_html', $html, $stylesheet, $theme )
引數
  • (string) $html The HTML for theme's auto-update setting, including toggle auto-update action link and time to next update.
    Required:
  • (string) $stylesheet Directory name of the theme.
    Required:
  • (WP_Theme) $theme WP_Theme object.
    Required:
定義位置
相關勾子
theme_auto_update_setting_templateplugin_auto_update_setting_htmltheme_auto_update_debug_stringthemes_auto_update_enabledafter_core_auto_updates_settings
相關方法
wp_theme_auto_update_setting_templatecore_auto_updates_settingstheme_update_availablethe_author_descriptionget_user_settingset_user_setting
引入
5.5.0
棄用
-

theme_auto_update_setting_html是一個WordPress過濾鉤子,它允許開發者修改自動主題更新設定的HTML輸出。

過濾Themes列表表中每個主題的自動更新設定的HTML。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
echo apply_filters( 'theme_auto_update_setting_html', $html, $stylesheet, $theme );
echo apply_filters( 'theme_auto_update_setting_html', $html, $stylesheet, $theme );
echo apply_filters( 'theme_auto_update_setting_html', $html, $stylesheet, $theme );

常見問題

FAQs
檢視更多 >