From c81aeb2257b6994bd72e1f6acf5549fd1f820a3d Mon Sep 17 00:00:00 2001 From: "Md.Harun-Ur-Rashid" Date: Mon, 17 Jul 2023 15:03:42 +0600 Subject: [PATCH] Fees name field limit added --- classes/Options_V2.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/classes/Options_V2.php b/classes/Options_V2.php index 186fc61c3..5d206506b 100644 --- a/classes/Options_V2.php +++ b/classes/Options_V2.php @@ -899,8 +899,10 @@ public function get_setting_fields() { 'type' => 'textarea', 'label' => __( 'Fee Description', 'tutor' ), 'placeholder' => __( 'Fee Description', 'tutor' ), - 'desc' => __( 'Set a description for the fee that you are deducting. Make sure to give a reasonable explanation to maintain transparency with your site’s instructors', 'tutor' ), - 'default' => 'free', + 'desc' => __( 'Set a description for the fee that you are deducting. Make sure to give a reasonable explanation to maintain transparency with your site’s instructors (within 200-character limit).', 'tutor' ), + 'maxlength' => 200, + 'rows' => 5, + 'default' => 'Maintenance Fees', ), array( 'key' => 'fee_amount_type',