diff --git a/includes/class-dokan-integration.php b/includes/class-dokan-integration.php index 0570b28..6c253b7 100644 --- a/includes/class-dokan-integration.php +++ b/includes/class-dokan-integration.php @@ -18,10 +18,11 @@ public function __construct() { public function add_settings_sections( $sections ) { $sections[] = [ - 'id' => 'weforms_integration', - 'title' => __( 'Vendor Contact Form', 'weforms' ), - 'icon' => 'dashicons-admin-generic', - ]; + 'id' => 'weforms_integration', + 'title' => __( 'Vendor Contact Form', 'weforms' ), + 'settings_title' => __( 'Vendor Contact Form', 'weforms' ), + 'icon_url' => WEFORMS_ASSET_URI . '/images/icon-weforms.png', + ]; return $sections; } @@ -97,7 +98,7 @@ public function dokan_settings( $settings_fields ) { 'name' => 'allow_vendor_contact_form', 'label' => __( 'Vendor Can Contact', 'weforms' ), 'desc' => __( 'Allow Vendors to contact admin from the dashbaord area', 'weforms' ), - 'type' => 'checkbox', + 'type' => 'switcher', 'default' => 'off', ];