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

  • Landing_Pages_Load_Extensions
  • Landing_Pages_Template_Management
  • Landing_Pages_Template_Switcher
  • Landing_Pages_Templates_List_Table
  • Landing_Pages_Variations
  • Overview
  • Package
  • Class

Class Landing_Pages_Template_Switcher

Class for loading landing page templates when landing page is called on the frontend.

Package: LandingPages\Templates
Located at core/landing-pages/classes/class.landing-pages.php
Methods summary
public
# __construct( )

Initiate class

Initiate class

public static
# add_hooks( )

Load hook and filters

Load hook and filters

public static
# display_landing_page_title( $content, $id = null )

Return custom Landing Page headline

Return custom Landing Page headline

public static string
# display_landing_page_content( $content )

Displays landing page content

Displays landing page content

Parameters

$content

Returns

string
public static
# display_conversion_area( $content )

display conversion area

display conversion area

public static
# switch_template( $template )

Detects if landing page & issues the correct template

Detects if landing page & issues the correct template

public static
# load_custom_js_css( )

load custom CSS & JS

load custom CSS & JS

public static
# process_conversion_area_shortcode( $atts, $content = null )

[lp_conversion_area] shortcode support

public static
# process_conversion_shortcode( $atts, $content = null )

[landing-page-conversion] shortcode support

public static
# process_postback_conversion( $atts, $content = null )

Use postback URL to record conversion for landing pages

Use postback URL to record conversion for landing pages

public static string
# hide_nav_menu( string $args = '' )

Hides navigation menu on default landing page tempaltes

Hides navigation menu on default landing page tempaltes

Parameters

$args

Returns

string
public static
# load_misc_plugin_support( )

Utility method for loading popular 3rd party assets into Landing Page

Utility method for loading popular 3rd party assets into Landing Page

public static
# strip_styles( )

Remove all base css from the current active wordpress theme in landing pages currently removes all css from wp_head and re-enqueues the admin bar css.

Remove all base css from the current active wordpress theme in landing pages currently removes all css from wp_head and re-enqueues the admin bar css.

Inbound Pro Plugin - PHP Codex API documentation generated by ApiGen