'martfury' ), 'post' => esc_html__( 'Post', 'martfury' ), 'other' => esc_html__( 'Other Pages', 'martfury' ), ), 'description' => esc_html__( 'Check pages to show the recently viewed products on mobile.', 'martfury' ), 'active_callback' => array( array( 'setting' => 'footer_recently_viewed_mobile', 'operator' => '==', 'value' => 1, ), ), ), ) ); if ( class_exists( 'WeDevs_Dokan' ) || class_exists( 'WC_Vendors' ) || class_exists( 'MVX' ) || class_exists( 'WCFMmp' ) ) { $fields = array_merge( $fields, array( 'catalog_toolbar_els_12_mobile' => array( 'type' => 'multicheck', 'label' => esc_html__( 'ToolBar Elements', 'martfury' ), 'section' => 'vendor_mobile', 'default' => array( 'filter', 'view' ), 'priority' => 70, 'choices' => array( 'filter' => esc_html__( 'Filter', 'martfury' ), 'view' => esc_html__( 'View', 'martfury' ), ), 'description' => esc_html__( 'Select which elements you want to show.', 'martfury' ), ), 'catalog_toolbar_filter_text_12_mobile' => array( 'type' => 'text', 'label' => esc_html__( 'Filter Text', 'martfury' ), 'section' => 'vendor_mobile', 'default' => esc_html__( 'Filter', 'martfury' ), 'priority' => 70, ), ) ); } return $fields; } add_filter( 'martfury_customize_fields', 'martfury_mobile_customize_fields' );