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

Class Leads_Settings

Class provides a data interface for storing and retrieving data from the Inbound Pro settings system or the GPL plugin settings system. They two are different at the moment.

Package: Leads\Settings
Located at core/leads/classes/class.settings.php
Methods summary
public
# __construct( )

Initiate class

Initiate class

public static
# load_hooks( )

load hooks and filters

load hooks and filters

public static
# enqueue_admin_scripts( $hook )
public static
# define_pro_settings( $settings )

Adds pro admin settings

Adds pro admin settings

public static mixed
# define_stand_alone_settings( )

Prepare settings object for settings

Prepare settings object for settings

Returns

mixed
public static
# leads_get_pages_array( )

Gets array of pages with ID => Label format

Gets array of pages with ID => Label format

public static
# display_stand_alone_settings( )

Displays global settings

Displays global settings

public static mixed
# get_setting( $field_id, $default )

Get setting value from DB. Handles stand alone landing pages plugin differently from Inbound Pro included landing pages plugin

Get setting value from DB. Handles stand alone landing pages plugin differently from Inbound Pro included landing pages plugin

Parameters

$field_id
$default

Returns

mixed
public static
# save_settings( )

Saves global settings

Saves global settings

public static
# render_inline_js( )

Load inline JS that powers settings area

Load inline JS that powers settings area

public static
# render_settings( $key, $custom_fields, $active_tab )

Render settings field

Render settings field

Parameters

$key
$custom_fields
$active_tab
public static
# redirect_inbound_pro_settings( )

redirects settings link to Inbound Pro settings page with Landing Pages settings pre-loaded

redirects settings link to Inbound Pro settings page with Landing Pages settings pre-loaded

Inbound Pro Plugin - PHP Codex API documentation generated by ApiGen