diff --git a/includes/core/um-actions-account.php b/includes/core/um-actions-account.php index 782d34be..9aec39ed 100644 --- a/includes/core/um-actions-account.php +++ b/includes/core/um-actions-account.php @@ -410,14 +410,19 @@ add_action( 'um_before_account_delete', 'um_before_account_delete' ); /** * Before notifications account tab content */ -function um_before_account_notifications() { ?> -
-
- -
+function um_before_account_notifications( $args = array() ) { + $output = UM()->account()->get_tab_fields( 'notifications', $args ); + if( substr_count( $output, '_enable_new_' ) ) { + ?> +
+
+ +
+
-
-