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

Class Inbound_Asset_Loader

Class enqueues shared js and css assets includes InboundAnalytics JS assets

Package: Shared
Located at core/shared/classes/class.load-assets.php
Methods summary
public static
# load_inbound_assets( )
public static
# load_admin_scripts( )
public static
# register_scripts_and_styles( )

Registers enqueues

Registers enqueues

Example: self::enqueue_shared_file('SCRIPT-ID', INBOUNDNOW_SHARED_PATH . 'assets/js/frontend/path-in-shared-assets.js', 'localized_var_name', $localized_array_values, $dependancies_array );

public static
# enqueue_shared_file( $name, $path, $deps = array(), $localize_var = null, $localize_array = array() , $in_footer = true )

Helper function for registering and enqueueing scripts and styles.

Helper function for registering and enqueueing scripts and styles.

Deps

js dependancies by name example 'jquery'

File_path

The path to the actual file inside /shared/assets/

Localize_array

Optional argument for the localized array

Localize_var

the localized variable name
public static
# localize_lead_data( )
public static mixed
# get_lead_setting( $field_id, $default )

Get setting value from DB. Handles stand alone leads plugin differently from Inbound Pro included leads plugin this function is redundant, but neccecary to prevent fatals when Leads is not activated

Get setting value from DB. Handles stand alone leads plugin differently from Inbound Pro included leads plugin this function is redundant, but neccecary to prevent fatals when Leads is not activated

Parameters

$field_id
$default

Returns

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