File "settings-options.php"

Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/yith-woocommerce-wishlist/plugin-options/settings-options.php
File size: 1.39 KB
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * Settings options
 *
 * @package YITH\Wishlist\PluginOptions
 */

defined( 'YITH_WCWL' ) || exit; // Exit if accessed directly

$sub_tabs = array(
	'settings-general'         => array(
		'title'              => _x( 'General', 'Tab title in plugin settings panel', 'yith-woocommerce-wishlist' ),
		'yith-wcwl-priority' => 20,
		'description'        => _x( 'Configure the plugin general settings.', 'Tab description in plugin settings panel', 'yith-woocommerce-wishlist' ),
	),
	'settings-add_to_wishlist' => array(
		'title'              => _x( 'Add to wishlist', 'Tab title in plugin settings panel', 'yith-woocommerce-wishlist' ),
		'yith-wcwl-priority' => 20,
		'description'        => _x( 'Configure the Add to wishlist settings.', 'Tab description in plugin settings panel', 'yith-woocommerce-wishlist' ),
	),
	'settings-wishlist_page'   => array(
		'title'              => _x( 'Wishlist page', 'Tab title in plugin settings panel', 'yith-woocommerce-wishlist' ),
		'yith-wcwl-priority' => 20,
		'description'        => _x( 'Configure the wishlist page settings.', 'Tab description in plugin settings panel', 'yith-woocommerce-wishlist' ),
	),
);

$options = array(
	'settings' => array(
		'settings-tabs' => array(
			'type'     => 'multi_tab',
			'sub-tabs' => apply_filters( 'yith_wcwl_setting_options_sub_tabs', $sub_tabs ),
		),
	),
);

return apply_filters( 'yith_wcwl_panel_settings_options', $options );