PATH:
home
/
letacommog
/
rdvenunclick.fr1
/
wp-content
/
plugins
/
dokan-pro
/
includes
/
Brands
<?php namespace WeDevs\DokanPro\Brands; class AdminSettings { /** * Add admin settings for Brands feature * * @since 2.9.7 * * @param array $settings_fields * @param \Dokan_Settings $dokan_settings * * @return array */ public static function add_admin_settings_fields( $settings_fields, $dokan_settings ) { $brands_settings = [ 'product_brands_mode' => [ 'name' => 'product_brands_mode', 'label' => __( 'Brands Selection Mode', 'dokan' ), 'desc' => __( 'Enable single or multiple brand selection mode for vendors.', 'dokan' ), 'type' => 'select', 'default' => 'single', 'options' => [ 'single' => __( 'Single', 'dokan' ), 'multiple' => __( 'Multiple', 'dokan' ) ] ] ]; return $dokan_settings->add_settings_after( $settings_fields, 'dokan_selling', 'product_vendors_can_create_tags', $brands_settings ); } }
[+]
..
[-] Manager.php
[edit]
[-] AdminSettings.php
[edit]
[-] FormFields.php
[edit]
[-] Hooks.php
[edit]