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

  • Leads_Field_Map
  • Overview
  • Package
  • Class

Class Leads_Field_Map

Class defines lead fields and makes them extendable

Package: Shared\FieldMapping
Located at core/shared/classes/class.lead-fields.php
Methods summary
public
# __construct( )
public static
# load_hooks( )
public static
# get_lead_fields( )

Define Default Lead Fields

Define Default Lead Fields

public static
# build_map_array( $include_placeholder = true )

Builds key=>label array of lead fields

Builds key=>label array of lead fields

public static
# build_field_types_array( )

Builds array of available field types

Builds array of available field types

public static
# prioritize_lead_fields( ARRAY $fields, STRING $sort_flags = SORT_ASC )

Priorize Lead Fields Array

Priorize Lead Fields Array

Parameters

$fields
simplified id => label array of lead fields
$sort_flags
default = SORT_ASC
public static
# get_field( $lead_id, $field_key )

Gets lead field

Gets lead field

Parameters

$lead_id
$field_key
public static
# process_lead_field_shortcode( ARRAY $params )

Process [lead-field] shortcode

Process [lead-field] shortcode

Parameters

$params
Properties summary
public static $field_map
#
Inbound Pro Plugin - PHP Codex API documentation generated by ApiGen