From 0ede96159a52c653540b17f7aa87c1dd18468229 Mon Sep 17 00:00:00 2001 From: Ravinder Kumar Date: Fri, 22 Sep 2023 17:55:24 +0530 Subject: [PATCH] feat: update deacrtivation modal content --- includes/bootstrap.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/includes/bootstrap.php b/includes/bootstrap.php index e537b7dda..e749a34d5 100644 --- a/includes/bootstrap.php +++ b/includes/bootstrap.php @@ -232,8 +232,11 @@ static function(){ 'admin_footer', static function () { printf( - '', - esc_html__( 'This is a demo modal', 'distributor' ) + '', + esc_html__( 'Would you like to delete all Distributor data?', 'distributor'), + esc_html__( 'By default the database entries are not deleted when you deactivate Distributor. If you are deleting Distributor completely from your website and want those items removed as well check, add below code to wp-config.php .', 'distributor' ), + 'define(\'DT_REMOVE_ALL_DATA\', true)', + esc_html__( 'Note: This will permanently delete all Distributor data from your database. After deleting Distributor, you can remove code.', 'distributor' ) ); } ); @@ -248,6 +251,7 @@ static function () { $("#my-modal").dialog({ modal: true, title: "$modal_title", + width: 550, buttons: [ { text: "$modal_button_title_cancel",