PluginProbe
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant / 2.3.2
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant v2.3.2
2.3.2 2.3.1 2.3.0 2.2.8 2.2.7 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.11.0 1.11.1 1.11.2 1.6 1.7 1.8 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 1.9.10 1.9.11 All 60 releases
← All changes | inc/modules/countdown-timer/class-countdown-timer.php +20 -0 2.2.72.3.2 View file →
@@ -33,8 +33,17 @@
33 33 */
34 34 public static $is_module_preview = false;
35 35
36 36 /**
37 + * Initialize the module's option group definitions.
38 + *
39 + * @return array<int, array<string, mixed>> Array of option group arrays.
40 + */
41 + protected function init_option_groups() {
42 + return require MERCHANT_DIR . 'inc/modules/' . self::MODULE_ID . '/admin/options.php';
43 + }
44 +
45 + /**
37 46 * Constructor.
38 47 */
39 48 public function __construct() {
40 49 // Module id.
@@ -61,8 +70,19 @@
61 70 );
62 71
63 72 // Module data.
64 73 $this->module_data = Merchant_Admin_Modules::$modules_data[ self::MODULE_ID ];
74 +
75 + // AI prompt examples.
76 + $this->ai_examples = array(
77 + 'blurb' => esc_html__( 'See what AI can do for your countdown timer, from setting when the sale ends to restyling how the timer looks.', 'merchant' ),
78 + 'prompts' => array(
79 + esc_html__( 'Explore the abilities WPVibe gives you access to, then switch the countdown timer to sale-price dates and set it to end at midnight on November 30 for our Black Friday sale', 'merchant' ),
80 + esc_html__( 'Check what abilities you have available through WPVibe, then switch the countdown timer to an evergreen timer that gives each visitor a fresh 24-hour deadline', 'merchant' ),
81 + esc_html__( "Look at your available WPVibe abilities, then change the sale ending message above the countdown timer to 'Black Friday ends in' and center it", 'merchant' ),
82 + esc_html__( 'See what abilities WPVibe exposes, then switch the countdown timer to the Circles layout with red digits', 'merchant' ),
83 + ),
84 + );
65 85
66 86 // Module options path.
67 87 $this->module_options_path = MERCHANT_DIR . 'inc/modules/' . self::MODULE_ID . '/admin/options.php';
68 88