From a8e0b1def0daafd63343991f9cabd080bb7aaf88 Mon Sep 17 00:00:00 2001 From: "Md. Nazmul Hassan" Date: Sun, 20 Mar 2016 21:43:15 +0600 Subject: [PATCH] Update remove-option.php --- remove-option.php | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/remove-option.php b/remove-option.php index acaae0e..000844f 100644 --- a/remove-option.php +++ b/remove-option.php @@ -1,11 +1,11 @@ array( + $settings_fields ['dokan_selling']['remove_tab'] = array( 'name' => 'remove_tab', 'label' => __( 'Hide Seller Dashboard Menu', 'dokan' ), 'desc' => __( 'Select the dashboard menu to hide from seller', 'dokan' ), 'type' => 'select', 'options' => array( - '' =>'--Select--', + '' =>'--Select--', 'products' => 'Products', 'orders' => 'Orders', 'withdraw' => 'Withdraw', @@ -38,9 +37,9 @@ function wlr_tab_remover($settings_fields){ 'social' => 'Social' ), - ), + ); - 'disable_tab' => array( + $settings_fields ['dokan_selling']['disable_tab'] = array( 'name' => 'disable_tab', 'label' => __( 'Remove tab', 'dokan' ), 'desc' => __( 'Select the tab to remove from product edit page', 'dokan' ), @@ -53,12 +52,11 @@ function wlr_tab_remover($settings_fields){ 'attributes'=>'Attributes', 'variations' => 'Variations' ) - ) + ); - ); - return $settings_fields; + return $settings_fields;