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

Class Leads_Dashboard

Class adds dashboard widgets to wp-admin dashboard

Package: Leads\Dashboard
Located at core/leads/classes/class.dashboard.php
Methods summary
public
# __construct( )
public static
# load_static_vars( $hook )

Loading Static Variables while in Dashboard screen

Loading Static Variables while in Dashboard screen

public static
# add_dashboard_widgets( )

Add dashboard widgets

Add dashboard widgets

public static
# register_admin_scripts( $hook )

Enqueue scripts and styles for dashboard

Enqueue scripts and styles for dashboard

Parameters

$hook
public static
# add_inline_header_scripts( )

Adding inline header scripts and styling - powers lead quick search in admin bar

Adding inline header scripts and styling - powers lead quick search in admin bar

public static
# display_lead_performance_report( )
public static
# display_latest_leads_widget( )

Displays the latest converted leads.

Displays the latest converted leads.

public static
# display_list_performance_widget( )

Shows the lead generation performance of lists compared to this time yesterday, and by this date last month

Shows the lead generation performance of lists compared to this time yesterday, and by this date last month

public static mixed
# count_leads_by_time( $start_current, $end_current )

Get number of leads added between two datetimes.

Get number of leads added between two datetimes.

Parameters

$start_current
$end_current

Returns

mixed
public static
# get_formatted_difference( $val_1, $val_2 )
public static mixed
# get_lead_count_from_today( )

Gets count of new leads generated today

Gets count of new leads generated today

Returns

mixed
public static
# get_lead_graph_data( $month, $type )

Parameters

$month
$type
public static
# get_list_event_data( $id, $start_date = 'now', $older_start_date = false )

Retrieves the leads added to a list between a start date and right now. If second date argument is supplied, leads will be retrieved from a time period starting at the second time arg and ending at the time specified by the first arg.

Retrieves the leads added to a list between a start date and right now. If second date argument is supplied, leads will be retrieved from a time period starting at the second time arg and ending at the time specified by the first arg.

public static
# get_color_from_string( $str )
public static
# ajax_update_lists( )

Ajax listener for saving updated custom field data

Ajax listener for saving updated custom field data

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