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_Metaboxes_Leads
  • Leads_Post_Type
  • Overview
  • Package
  • Class

Class Leads_Post_Type

Class improves the wp-lead CPT listing page

Package: Leads\Management
Located at core/leads/classes/class.post-type.wp-lead.php
Methods summary
public
# __construct( )

Initiate class

Initiate class

public static
# load_hooks( )

Load hooks and filters

Load hooks and filters

public static array
# register_columns( $cols )

Register custom columns for the wp-lead post type

Register custom columns for the wp-lead post type

Parameters

$cols

Returns

array
public static mixed
# render_columns( $column, $lead_id )

Renders custom columns for wp-lead post type

Renders custom columns for wp-lead post type

Parameters

$column
$lead_id

Returns

mixed
public static mixed
# define_sortable_columns( $columns )

Defines sortable columns

Defines sortable columns

Parameters

$columns

Returns

mixed
public static
# define_filters( )

Adds custom taxonomies of wp-lead post type to filter controls

Adds custom taxonomies of wp-lead post type to filter controls

public static mixed
# filter_row_actions( $actions, $post )

Modifies action row

Modifies action row

Parameters

$actions
$post

Returns

mixed
public static
# process_column_sorting( $pieces, $query )
public static
# process_filters( $query )

Handles modification to the filter query

Handles modification to the filter query

Parameters

$query
public static
# register_bulk_edit_fields( )

Adds additiona options to bulk edit fields

Adds additiona options to bulk edit fields

public static
# process_bulk_actions( )

process bulk actions for wp-lead post type

process bulk actions for wp-lead post type

public static array
# prepare_nice_names( )

Prepare nice names for custom fields

Prepare nice names for custom fields

Returns

array
public static
# record_meta_update( $meta_id, $lead_id, $meta_key, $meta_value )

Listens for a change to a leads meta data and update the change timestamp

Listens for a change to a leads meta data and update the change timestamp

Parameters

$meta_id
$lead_id
$meta_key
$meta_value
public static
# redirect_email_profile_links( )

Listens for incoming profile access link (found in a new lead notification)

Listens for incoming profile access link (found in a new lead notification)

public static
# display_plugin_quick_links( $links )

Add action links in Plugins table

Add action links in Plugins table

public static
# display_status_pill( $status )
public static string
# convert_array_to_xml( $mixed, $node_name )

Converts ARRAY to XML

Converts ARRAY to XML

Parameters

$mixed
$node_name

Returns

string
$xml
public static string
# build_lead_xml( $array, string $node_block = 'lead_data', string $node_name = 'lead_data' )

Prepares XML from Lead data

Prepares XML from Lead data

Parameters

$array
$node_block
$node_name

Returns

string
$xml
public static
# setup_admin_menu( )

Adds menu items to wp-lead's post type

Adds menu items to wp-lead's post type

public static
# get_gravatar( $lead_id, $size = 50 )
public static
# enqueue_admin_scripts( $hook )

Enqueue scripts and styles for admin

Enqueue scripts and styles for admin

public static
# delete_lead_actions( $lead_id )

Deletes page_views and events related to deleted lead

Deletes page_views and events related to deleted lead

Parameters

$lead_id
public static
# trash_lead_actions( $lead_id )

Deletes page_views and events related to deleted lead

Deletes page_views and events related to deleted lead

Parameters

$lead_id
public static
# ajax_get_all_lead_data( )

Ajax listener to return json object of all lead meta data

Ajax listener to return json object of all lead meta data

public static
# ajax_mark_lead_as_read( )

Ajax listener to mark lead as read

Ajax listener to mark lead as read

public static
# ajax_mark_lead_as_unread( )

Ajax listener to mark lead as unread

Ajax listener to mark lead as unread

public static
# ajax_auto_mark_as_read( )

Ajax listener to automatically mark a lead as read when the lead is opened for the first time

Ajax listener to automatically mark a lead as read when the lead is opened for the first time

public static
# ajax_stop_waiting_for_double_optin( )

Ajax listener to stop waiting for double optin Deletes the array of lists waiting for confirmation from the lead, moves the lead out of the waiting for confirmation list, and marks the lead as read

Ajax listener to stop waiting for double optin Deletes the array of lists waiting for confirmation from the lead, moves the lead out of the waiting for confirmation list, and marks the lead as read

Inbound Pro Plugin - PHP Codex API documentation generated by ApiGen