check_plugin_validity(); /* * New Year notice if (mktime(0, 0, 0, 11, 17, 2022) <= $current && $current <= mktime(0, 0, 0, 1, 15, 2023)) { if (get_option('rtwpvg_ny_2023') != '1') { if (! isset($GLOBALS['rtwpvg_ny_2023_notice'])) { $GLOBALS['rtwpvg_ny_2023_notice'] = 'rtwpvg_ny_2023'; self::new_year_notice(); } } } */ $start = strtotime( '18 November 2024' ); $end = strtotime( '15 January 2025' ); // Black Friday Notice. if ( ! $installed_pro && $start <= $current && $current <= $end ) { if ( get_option( 'woobundle_black_friday_offer_2024' ) != '1' ) { if ( ! isset( $GLOBALS['woobundle_notice'] ) ) { $GLOBALS['woobundle_notice'] = 'woobundle_notice'; self::black_friday_notice(); } } } }, 15 ); } /** * Check if plugin is validate. * * @return bool */ public function check_plugin_validity(): bool { $license_status = rtwpvg()->get_option( 'license_status' ); $status = ( ! empty( $license_status ) && 'valid' === $license_status ) ? true : false; return $status; } /** * Undocumented function. * * @return void */ public static function new_year_notice() { add_action( 'admin_enqueue_scripts', function () { wp_enqueue_script( 'jquery' ); } ); add_action( 'admin_notices', function () { $plugin_name = 'Variation Images Gallery for WooCommerce Pro'; $download_link = 'https://www.radiustheme.com/downloads/woocommerce-variation-images-gallery/'; ?>
plan with UP TO 50% OFF! Limited time offer!!