/**
  * Convenience method to add delayed admin notices, which may depend upon
  * some setting being saved prior to determining whether to render
  *
  * @since 3.0.0
  * @see SV_WC_Plugin::add_delayed_admin_notices()
  */
 public function add_delayed_admin_notices()
 {
     parent::add_delayed_admin_notices();
     // notices for ssl requirement
     $this->add_ssl_admin_notices();
     // notices for currency issues
     $this->add_currency_admin_notices();
     // notices for subscriptions/pre-orders
     $this->add_integration_requires_tokenization_notices();
 }
 /**
  * Render a notice for the user to read the docs before configuring
  *
  * @since 1.1.0
  * @see SV_WC_Plugin::add_delayed_admin_notices()
  */
 public function add_delayed_admin_notices()
 {
     // show any dependency notices
     parent::add_delayed_admin_notices();
     // add notice to read the documentation
     if ($this->is_plugin_settings()) {
         $this->get_admin_notice_handler()->add_admin_notice(sprintf(__('Thanks for installing Social Login! Before you get started, please take a moment to %sread through the documentation%s.', 'woocommerce-social-login'), '<a href="' . $this->get_documentation_url() . '">', '</a>'), 'read-the-docs', array('always_show_on_settings' => false, 'notice_class' => 'updated'));
     }
     $this->add_ssl_admin_notices();
 }
 /**
  * Renders any admin notices
  *
  * @since 3.2.0
  * @see SV_WC_Plugin::add_admin_notices()
  */
 public function add_delayed_admin_notices()
 {
     parent::add_delayed_admin_notices();
     // onboarding!
     if (!get_option('wc_freshbooks_api_url')) {
         if (get_option('wc_freshbooks_upgraded_from_v2')) {
             $message = __('Thanks for upgrading to the latest WooCommerce FreshBooks plugin! Please double-check your %sinvoice settings%s.', self::TEXT_DOMAIN);
         } else {
             $message = __('Thanks for installing the WooCommerce FreshBooks plugin! To get started, please %sadd your FreshBooks API credentials%s. ', self::TEXT_DOMAIN);
         }
         $this->get_admin_notice_handler()->add_admin_notice(sprintf($message, '<a href="' . $this->get_settings_url() . '">', '</a>'), 'welcome-notice', array('notice_class' => 'updated'));
     }
 }
 /**
  * Render a notice for the user to read the docs before configuring
  *
  * @since 1.1.0
  * @see SV_WC_Plugin::add_delayed_admin_notices()
  */
 public function add_delayed_admin_notices()
 {
     // show any dependency notices
     parent::add_delayed_admin_notices();
     // add notice for selecting export format
     if ($this->is_plugin_settings()) {
         $this->get_admin_notice_handler()->add_admin_notice(sprintf(__('Thanks for installing Social Login! Before you get started, please take a moment to %sread through the documentation%s.', $this->text_domain), '<a href="' . $this->get_documentation_url() . '">', '</a>'), 'read-the-docs', array('always_show_on_settings' => false));
     }
     $this->add_ssl_admin_notices();
 }
 /**
  * Convenience method to add delayed admin notices, which may depend upon
  * some setting being saved prior to determining whether to render
  *
  * @since 3.0.0
  * @see SV_WC_Plugin::add_delayed_admin_notices()
  */
 public function add_delayed_admin_notices()
 {
     parent::add_delayed_admin_notices();
     // notices for ssl requirement
     $this->add_ssl_admin_notices();
     // notices for currency issues
     $this->add_currency_admin_notices();
 }
 /**
  * Checks if required PHP extensions are loaded and SSL is enabled. Adds an admin notice if either check fails.
  * Also gateway settings are checked as well.
  *
  * @since 1.2.3
  * @see SV_WC_Plugin::add_delayed_admin_notices()
  */
 public function add_delayed_admin_notices()
 {
     parent::add_delayed_admin_notices();
     // show a notice for any settings/configuration issues
     $this->add_ssl_required_admin_notice();
 }