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",