Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions includes/class-dokan-integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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',
];

Expand Down