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

  • LeadStorage

Functions

  • inbound_add_conversion_to_lead
  • inbound_store_lead
  • Overview
  • Package
  • Class

Class LeadStorage

Package: Shared\LeadSorage
Located at core/shared/classes/class.lead-storage.php
Methods summary
public static
# init( )

Initialize class

Initialize class

public static
# set_mode( $mode = 'auto' )

Checks if running in ajax mode

Checks if running in ajax mode

public static
# inbound_lead_store( $args )

Stores lead

Stores lead

public static
# store_new_lead( $lead )

Creates new lead in wp-lead post type

Creates new lead in wp-lead post type

public static
# store_page_views( $lead )

Updates pages viewed object

Updates pages viewed object

public static
# store_mapped_data( $lead, $mappedData )

Prefixes keys with wpleads_ if key is not prepended with wpleads_

Prefixes keys with wpleads_ if key is not prepended with wpleads_

public static
# store_search_history( $lead )

Updates search history object

Updates search history object

public static
# store_conversion_data( $lead )

updates conversion data object

updates conversion data object

public static
# store_conversion_stats( $lead )

Store Conversion Data to LANDING PAGE/CTA DATA

Store Conversion Data to LANDING PAGE/CTA DATA

public static
# update_common_meta( $lead )

Loop trough lead_data array and update post meta

Loop trough lead_data array and update post meta

public static
# update_pageviews( $lead )

Associates prior unassociated pageviews with lead id

Associates prior unassociated pageviews with lead id

public static
# update_events( $lead )

Associates prior unassociated pageviews with lead id

Associates prior unassociated pageviews with lead id

public static
# store_raw_form_data( $lead )

Updates raw form data object

Updates raw form data object

public static
# improve_lead_name( $lead )

Parses & improves lead name

Parses & improves lead name

public static
# improve_mapping( $mappedData, $lead, $args )

Uses mapped data if not programatically set

Uses mapped data if not programatically set

public static
# lookup_lead_by_email( $email )

Search lead by email

Search lead by email

public static
# check_val( $key, $args )
public static
# json_array_merge( $arr1, $arr2 )
public static
# lookup_ip_address( $args = array() )

Discover session IP address

Discover session IP address

public static
# create_lead_from_user( $user_id )

Create a lead from a user id

Create a lead from a user id

Parameters

$user_id
Properties summary
public static $mapped_fields
#
public static $is_ajax
#
Inbound Pro Plugin - PHP Codex API documentation generated by ApiGen