From 951410a744d85c89da5be1790829d40c25f9cbf3 Mon Sep 17 00:00:00 2001 From: ashubawork Date: Tue, 3 Oct 2023 16:19:42 +0300 Subject: [PATCH] - add delete comments option to the site health --- includes/admin/class-site-health.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/admin/class-site-health.php b/includes/admin/class-site-health.php index fb36defa..48efdbe6 100644 --- a/includes/admin/class-site-health.php +++ b/includes/admin/class-site-health.php @@ -173,6 +173,10 @@ class Site_Health { 'label' => __( 'Use Gravatars?', 'ultimate-member' ), 'value' => UM()->options()->get( 'use_gravatars' ) ? $labels['yes'] : $labels['no'], ), + 'um-delete_comments' => array( + 'label' => __( 'Deleting user comments after deleting a user', 'ultimate-member' ), + 'value' => UM()->options()->get( 'delete_comments' ) ? $labels['yes'] : $labels['no'], + ), ); if ( 'custom_meta' === UM()->options()->get( 'permalink_base' ) ) {