public function init() { parent::init(); $this->_maybe_store_settings(); $this->_maybe_clear_settings(); $use_basic = get_option(GFELOQUA_OPT_PREFIX . 'auth_basic'); $use_oauth = (bool) get_option(GFELOQUA_OPT_PREFIX . 'use_oauth', !$use_basic); $this->eloqua = new Eloqua_API($this->get_connection_string(), $use_oauth); add_action('wp_ajax_gfeloqua_clear_transient', array($this, 'clear_eloqua_transient')); if ($this->is_detail_page()) { wp_enqueue_script('gform_conditional_logic'); wp_enqueue_script('gform_gravityforms'); wp_enqueue_script('gform_form_admin'); } // this fixes the update notice on the plugins page add_action('admin_init', array($this, 'insert_version_data')); // oauth actions add_action('admin_init', array($this, 'handle_oauth_code')); add_action('admin_head', array($this, 'close_oauth_window')); // cron actions add_action('gfeloqua_disconnect_notification', array($this, 'disconnect_notification')); if (!wp_next_scheduled('gfeloqua_disconnect_notification')) { wp_schedule_event(time(), 'hourly', 'gfeloqua_disconnect_notification'); } }
public function init() { parent::init(); add_filter('gform_confirmation', array($this, 'confirmation'), 20, 4); add_filter('gform_validation', array($this, 'validation'), 20); add_filter('gform_entry_post_save', array($this, 'entry_post_save'), 10, 2); }
public function init() { parent::init(); $this->add_delayed_payment_support(array('option_label' => __('Subscribe user to Bitrix24 only when payment is received.', 'gravityformsbitrix24'))); add_filter('gform_addon_navigation', array($this, 'maybe_create_menu')); if (isset($_GET['member_id'])) { $this->oauth_login(); } }
/** * Register needed plugin hooks and PayPal delayed payment support. * * @access public * @return void */ public function init() { parent::init(); if ($this->is_gravityforms_supported('2.0-beta-3')) { add_filter('gform_entry_detail_meta_boxes', array($this, 'register_meta_box'), 10, 3); } else { add_action('gform_entry_detail_sidebar_middle', array($this, 'add_entry_detail_panel'), 10, 2); } add_action('admin_init', array($this, 'maybe_create_conversation')); add_filter('gform_addnote_button', array($this, 'add_note_checkbox')); add_action('gform_post_note_added', array($this, 'add_note_to_conversation'), 10, 6); add_filter('gform_entries_column_filter', array($this, 'add_entry_conversation_column_link'), 10, 5); $this->add_delayed_payment_support(array('option_label' => esc_html__('Create conversation in Help Scout only when payment is received.', 'gravityformshelpscout'))); }
public function init() { parent::init(); // Make sure Gravity Flow feeds are triggered before other feeds so we get a chance to intercept them. remove_filter('gform_entry_post_save', array($this, 'maybe_process_feed'), 10); add_filter('gform_entry_post_save', array($this, 'maybe_process_feed'), 8, 2); add_action('gform_after_submission', array($this, 'after_submission'), 9, 2); add_action('gform_after_update_entry', array($this, 'filter_after_update_entry'), 10, 2); add_shortcode('gravityflow', array($this, 'shortcode')); add_action('gform_register_init_scripts', array($this, 'filter_gform_register_init_scripts'), 10, 3); add_filter('auto_update_plugin', array($this, 'maybe_auto_update'), 10, 2); add_filter('gform_enqueue_scripts', array($this, 'filter_gform_enqueue_scripts'), 10, 2); add_action('wp_login', array($this, 'filter_wp_login'), 10, 2); add_action('gform_post_add_entry', array($this, 'action_gform_post_add_entry'), 10, 2); add_filter('gform_pre_replace_merge_tags', array($this, 'replace_variables'), 10, 7); }
/** * Register needed plugin hooks and PayPal delayed payment support. * * @access public * @return void */ public function init() { parent::init(); $this->add_delayed_payment_support(array('option_label' => esc_html__('Subscribe contact to Mad Mimi only when payment is received.', 'gravityformsmadmimi'))); }
/** * Plugin starting point. Handles hooks, loading of language files and PayPal delayed payment support. */ public function init() { parent::init(); $this->add_delayed_payment_support(array('option_label' => esc_html__('Subscribe member to Emma only when payment is received.', 'gravityformsemma'))); }
public function init() { parent::init(); $this->add_delayed_payment_support(array('option_label' => __('Subscribe user to MailChimp only when payment is received.', 'gravityformsmailchimp'))); }
/** * Register needed plugin hooks and PayPal delayed payment support. * * @access public * @return void */ public function init() { parent::init(); $this->add_delayed_payment_support(array('option_label' => esc_html__('Create Agile CRM object only when payment is received.', 'gravityformsagilecrm'))); }
/** * Plugin starting point. Adds PayPal delayed payment support. * * @access public * @return void */ public function init() { parent::init(); $this->add_delayed_payment_support(array('option_label' => esc_html__('Create Trello card only when payment is received.', 'gravityformstrello'))); }
/** * Plugin starting point. Handles hooks, loading of language files and PayPal delayed payment support. */ public function init() { parent::init(); $this->add_delayed_payment_support(array('option_label' => esc_html__('Subscribe user to Campaign Monitor only when payment is received.', 'gravityformscampaignmonitor'))); }
/** * Plugin starting point. Handles hooks and loading of language files. */ public function init() { parent::init(); add_filter('gform_product_info', array($this, 'add_discounts'), 5, 3); }
public function init() { parent::init(); add_filter('gravityflow_menu_items', array($this, 'menu_items')); add_filter('gravityflow_toolbar_menu_items', array($this, 'toolbar_menu_items')); }
/** * Register needed plugin hooks and PayPal delayed payment support. * * @since 1.0.2 * @access public */ public function init() { parent::init(); $this->add_delayed_payment_support(array('option_label' => esc_html__('Create contact or case in Highrise only when payment is received.', 'gravityformshighrise'))); }
public function init() { parent::init(); //loading translations load_plugin_textdomain('gravityformsfd', FALSE, '/gravityforms-facturadirecta/languages'); }
/** * Plugin starting point. Adds PayPal delayed payment support. * * @access public * @return void */ public function init() { parent::init(); $this->add_delayed_payment_support(array('option_label' => esc_html__('Send message to HipChat only when payment is received.', 'gravityformshipchat'))); }
/** * @access public * @return void */ public function init() { parent::init(); }
/** * Plugin starting point. Adds PayPal delayed payment support. * * @access public * @return void */ public function init() { parent::init(); $this->add_delayed_payment_support(array('option_label' => esc_html__('Create record in Zoho CRM only when payment is received.', 'gravityformszohocrm'))); }
/** * Register needed plugin hooks and PayPal delayed payment support. * * @access public * @return void */ public function init() { parent::init(); $this->add_delayed_payment_support(array('option_label' => esc_html__('Create person in Batchbook only when payment is received.', 'gravityformsbatchbook'))); }