PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 1.0.0
ShopBuilder – WooCommerce Builder For Elementor v1.0.0
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | app/Resources/Options.php +65 -65 2.2.21.0.0 View file →
@@ -1,65 +1,65 @@
1 -<?php
2 -
3 -namespace RadiusTheme\SB\Resources;
4 -
5 -// Do not allow directly accessing this file.
6 -if ( ! defined( 'ABSPATH' ) ) {
7 - exit( 'This script cannot be accessed directly.' );
8 -}
9 -
10 -class Options {
11 -
12 - /**
13 - * @return array
14 - */
15 - public static function settings_options() {
16 - $options = [
17 - 'general' => [],
18 - 'gutenberg' => [],
19 - 'elements' => [],
20 - 'modules' => [
21 - 'id' => 'modules',
22 - 'title' => esc_html__( 'Modules', 'shopbuilder' ),
23 - 'description' => esc_html__( 'Modules', 'shopbuilder' ),
24 - 'items' => [
25 - 'quick_view' => self::module_quick_view_options(),
26 - 'compare' => self::module_compare_options(),
27 - 'wishlist' => self::module_wishlist_options(),
28 - ],
29 - ],
30 - 'extensions' => [],
31 - ];
32 -
33 - return apply_filters( 'rtsb_settings_options', $options );
34 - }
35 -
36 - public static function module_quick_view_options() {
37 - $options = [
38 - 'id' => 'quick_view',
39 - 'title' => esc_html__( 'Quick View', 'shopbuilder' ),
40 - 'has_options' => true,
41 - ];
42 -
43 - return apply_filters( 'rtsb_module_quick_view_options', $options );
44 - }
45 -
46 - public static function module_compare_options() {
47 - $options = [
48 - 'id' => 'compare',
49 - 'title' => esc_html__( 'Compare', 'shopbuilder' ),
50 - 'has_options' => true,
51 - ];
52 -
53 - return apply_filters( 'rtsb_module_compare_options', $options );
54 - }
55 -
56 - public static function module_wishlist_options() {
57 - $options = [
58 - 'id' => 'wishlist',
59 - 'title' => esc_html__( 'Wishlist', 'shopbuilder' ),
60 - 'has_options' => true,
61 - ];
62 -
63 - return apply_filters( 'rtsb_module_wishlist_options', $options );
64 - }
65 -}
1 +<?php
2 +
3 +namespace RadiusTheme\SB\Resources;
4 +
5 +// Do not allow directly accessing this file.
6 +if ( ! defined( 'ABSPATH' ) ) {
7 + exit( 'This script cannot be accessed directly.' );
8 +}
9 +
10 +class Options {
11 +
12 + /**
13 + * @return array
14 + */
15 + public static function settings_options() {
16 + $options = [
17 + 'general' => [],
18 + 'gutenberg' => [],
19 + 'elements' => [],
20 + 'modules' => [
21 + 'id' => 'modules',
22 + 'title' => esc_html__( 'Modules', 'shopbuilder' ),
23 + 'description' => esc_html__( 'Modules', 'shopbuilder' ),
24 + 'items' => [
25 + 'quick_view' => self::module_quick_view_options(),
26 + 'compare' => self::module_compare_options(),
27 + 'wishlist' => self::module_wishlist_options(),
28 + ],
29 + ],
30 + 'extensions' => [],
31 + ];
32 +
33 + return apply_filters( 'rtsb_settings_options', $options );
34 + }
35 +
36 + public static function module_quick_view_options() {
37 + $options = [
38 + 'id' => 'quick_view',
39 + 'title' => esc_html__( 'Quick View', 'shopbuilder' ),
40 + 'has_options' => true,
41 + ];
42 +
43 + return apply_filters( 'rtsb_module_quick_view_options', $options );
44 + }
45 +
46 + public static function module_compare_options() {
47 + $options = [
48 + 'id' => 'compare',
49 + 'title' => esc_html__( 'Compare', 'shopbuilder' ),
50 + 'has_options' => true,
51 + ];
52 +
53 + return apply_filters( 'rtsb_module_compare_options', $options );
54 + }
55 +
56 + public static function module_wishlist_options() {
57 + $options = [
58 + 'id' => 'wishlist',
59 + 'title' => esc_html__( 'Wishlist', 'shopbuilder' ),
60 + 'has_options' => true,
61 + ];
62 +
63 + return apply_filters( 'rtsb_module_wishlist_options', $options );
64 + }
65 +}