Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Active_Campaign_Settings::output()
Creates the output of the settings page
Return Return
(Uncanny_Automatorvoid.)
Source Source
File: src/integrations/active-campaign/settings/settings-active-campaign.php
public function output() { $this->enable_triggers = $this->helpers->is_webhook_enabled() ? 'checked' : ''; $this->kb_link = automator_utm_parameters( 'https://automatorplugin.com/knowledge-base/activecampaign-triggers/', 'settings', 'active-campaign-triggers-kb_article' ); $this->webhook_url = get_rest_url() . AUTOMATOR_REST_API_END_POINT . $this->helpers->get_webhook_url(); $this->button_labels = $this->helpers->get_sync_btn_label(); $this->regenerate_key_url = add_query_arg( array( 'action' => 'active-campaign-regenerate-webhook-key', ), admin_url( 'admin-ajax.php' ) ); $this->regenerate_alert = __( 'Regenerating the URL will prevent ActiveCampaign triggers from working until the new webhook URL is set in ActiveCampaign. Continue?', 'uncanny-automator' ); $this->disconnect_url = add_query_arg( array( 'action' => 'active-campaign-disconnect', 'nonce' => wp_create_nonce( 'active-campaign-disconnect' ), ), admin_url( 'admin-ajax.php' ) ); include_once 'view-active-campaign.php'; }
Expand full source code Collapse full source code View on Github