Overview

Packages

  • ACF
  • Automation
    • Actions
    • Activation
    • LeadProfile
    • Menus
    • Queries
    • Rules
    • Triggers
  • CTA
    • Activation
    • AJAXListeners
    • Cloning
    • Core
    • Display
    • EditPage
    • Enqueues
    • GPLSettings
    • LeadsProfile
    • Loading
    • Menus
    • Notices
    • PlacementMetabox
    • PostType
    • Templates
    • Tracking
    • Variations
    • YOAST
  • InboundPro
    • Activation
    • AdminAJAX
    • AutoLoading
    • Cron
    • DataInterface
    • FieldMapping
    • Funnels
    • InboundNowAPI
    • Installer
    • LeadStatuses
    • Menus
    • Notifications
    • Ouath
    • Reports
    • Settings
    • Tracking
    • Translations
    • Updates
  • LandingPages
    • Activation
    • DataInterfaces
    • Management
    • Menus
    • NeedsAttention
    • Notices
    • Sidebars
    • Templates
    • Tracking
    • Variations
    • WelcomeScreen
    • Widgets
  • Leads
    • Activation
    • Akismet
    • BranchControl
    • BulkActions
    • Dashboard
    • Management
    • Notifications
    • Settings
    • Tracking
    • UserProfile
    • WPLogin
  • Mailer
    • Activation
    • Admin
    • ClickTracking
    • DataInterface
    • InboundForms
    • Leads
    • Management
    • Notifications
    • Scheduling
    • Sending
    • Settings
    • ShortcodesAndTokens
    • SparkPost
    • Templates
    • Unsubscribes
    • Variations
    • YoastSEO
  • None
  • Shared
    • APIs
    • CPT
    • DatabaseRoutines
    • DebugTricks
    • DoubleOptin
    • EventManagement
    • FieldMapping
    • InboundForms
    • LeadSorage
    • MarketingButton
    • Menus
    • Notifications
    • Shortcodes
    • ShortcodesAndTokens
    • StandAloneLicensing
    • Tracking
    • VisualEditor
  • xDepreciated

Classes

  • Inbound_Confirm_Double_Optin
  • Inbound_List_Double_Optin
  • Overview
  • Package
  • Class

Class Inbound_Confirm_Double_Optin

Package: Shared\DoubleOptin
Located at core/shared/classes/class.confirm-double-optin.php
Methods summary
public
# __construct( )

Initialize class

Initialize class

public static
# add_hooks( )

Load Hooks and Filters

Load Hooks and Filters

public static string
# process_confrimation( $atts,… )

Parameters

$atts,…

Returns

string
public static
# render_confirm_link( $params )

Creates the double optin confirmation link The shorcode used by the user is: inbound-list-double-optin-link. But Inbound_List_Double_Optin::add_confirm_link_shortcode_params trims the name to: list-double-optin-link. Then it gets rendered. The reason for this is so the shorcode isn't rendered until the atts have been added to it.

Creates the double optin confirmation link The shorcode used by the user is: inbound-list-double-optin-link. But Inbound_List_Double_Optin::add_confirm_link_shortcode_params trims the name to: list-double-optin-link. Then it gets rendered. The reason for this is so the shorcode isn't rendered until the atts have been added to it.

public static STRING
# generate_confirm_link( ARRAY $params )

Generates confirm url given lead id and lists

Generates confirm url given lead id and lists

Parameters

$params
contains: lead_id (INT ), list_ids (MIXED), email_id (INT)

Returns

STRING
$confirm_url
public static ARRAY
# decode_confirm_token( STRING $token )

Decodes confirm token into an array of parameters

Decodes confirm token into an array of parameters

Parameters

$token
$reader_id Encoded lead id.

Returns

ARRAY
$confirm array of confirmation data
public static
# confirm_being_added_to_lists( $params, $all = false )

Adds the lead to lists he selected when filling out the confirmation form. If all_lists was selected, all lists currently waiting for confirmation will be selected and the lead will be added to those.

Adds the lead to lists he selected when filling out the confirmation form. If all_lists was selected, all lists currently waiting for confirmation will be selected and the lead will be added to those.

Inbound Pro Plugin - PHP Codex API documentation generated by ApiGen