← All changes
|
includes/admin/settings/charitable-settings-admin-hooks.php
+7
-0
1.8.11
→
1.8.13
View file →
| @@ -25,8 +25,15 @@ | ||
| 25 | 25 | */ |
| 26 | 26 | add_action( 'admin_init', array( Charitable_Settings::get_instance(), 'register_settings' ) ); |
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | + * Redirect to the default Marketing sub-tab (newsletters) when no sub_tab is supplied. | |
| 30 | + * | |
| 31 | + * @see Charitable_Settings::marketing_sub_tab_default() | |
| 32 | + */ | |
| 33 | +add_action( 'admin_init', array( Charitable_Settings::get_instance(), 'marketing_sub_tab_default' ), 5 ); | |
| 34 | + | |
| 35 | +/** | |
| 29 | 36 | * Maybe add "Licenses" settings tab. |
| 30 | 37 | * |
| 31 | 38 | * @see Charitable_Settings::maybe_add_extensions_tab() |
| 32 | 39 | */ |