after_core_auto_updates_settings

動作鉤子
do_action( 'after_core_auto_updates_settings', $auto_update_settings )
引數
  • (array) $auto_update_settings { Array of core auto-update settings. @type bool $dev Whether to enable automatic updates for development versions. @type bool $minor Whether to enable minor automatic core updates. @type bool $major Whether to enable major automatic core updates. }
    Required:
定義位置
相關勾子
theme_auto_update_setting_htmltheme_auto_update_setting_templatetheme_auto_update_debug_stringrest_pre_update_settingplugin_auto_update_setting_html
相關方法
core_auto_updates_settingsfind_core_auto_updatewp_theme_auto_update_setting_templatewp_convert_widget_settingswp_get_auto_update_messageget_core_updates
引入
5.6.0
棄用
-

after_core_auto_updates_settings。在WordPress的這個動作鉤子是在核心自動更新設定顯示在WordPress更新螢幕上之後觸發的。這個鉤子可以用來在核心更新螢幕上新增額外的設定或功能。

在主要的核心自動更新設定後觸發。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
do_action( 'after_core_auto_updates_settings', $auto_update_settings );
do_action( 'after_core_auto_updates_settings', $auto_update_settings );
do_action( 'after_core_auto_updates_settings', $auto_update_settings );

常見問題

FAQs
檢視更多 >