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_Metaboxes
  • Landing_Pages_Post_Type
  • Landing_Pages_Row_Actions
  • Overview
  • Package
  • Class

Class Landing_Pages_Post_Type

Class for registering the landing page CPT and expanding the CPT's listing page with additional data

Package: LandingPages\Management
Located at core/landing-pages/classes/class.post-type.landing-page.php
Methods summary
public
# __construct( )
public static
# register_post_type( )

register post type

register post type

public static
# register_role_capabilities( )

Register Role Capabilities

Register Role Capabilities

public static
# register_taxonomies( )

Register landing page taxonomies

Register landing page taxonomies

public static array
# register_columns( $columns )

Register columns

Register columns

Parameters

$columns

Returns

array
public static
# enqueue_admin_scripts( $hook )

Enqueue admin scripts

Enqueue admin scripts

public static
# enqueue_frontend_scripts( )

Enqueue frontend scripts

Enqueue frontend scripts

public static array
# display_columns( $column )

Display column data

Display column data

Parameters

$column

Returns

array
public static
# define_sortable_columns( $columns )

Define Sortable Columns

Define Sortable Columns

public static
# filter_row_actions( $actions, $post )

Define Row Actions

Define Row Actions

public static float|integer
# show_aggregated_stats( $type_of_stat )

Needs further refactoring & documentation

Needs further refactoring & documentation

Parameters

$type_of_stat

Returns

float|integer
public static
# add_rewrite_rules( )

Adds rewrite rules

Adds rewrite rules

public static string
# filter_rewrite_rules( $rules )

Adds conditions to rewrite rules

Adds conditions to rewrite rules

Parameters

$rules

Returns

string
public static
# show_stats( )

Show stats container on Landing Page lists page

Show stats container on Landing Page lists page

public static
# sort_by_category( )

Show dropdown of landing page categories

Show dropdown of landing page categories

public static
# sort_by_category_prepare_query( )

Convert the category id to the taxonomy id during a query

Convert the category id to the taxonomy id during a query

public static
# filter_custom_post_states( $post_states )

Add styling handlers to custom post states

Add styling handlers to custom post states

public static
# load_preview_iframe( )

Loads preview iframe. Currently disabled. Plans to update @DavidWells

Loads preview iframe. Currently disabled. Plans to update @DavidWells

public static
# stop_stat_tracking( )

Load JS to disable stats from working for preview windows

Load JS to disable stats from working for preview windows

public static
# wp_head( )

Load misc wp_head

Load misc wp_head

Inbound Pro Plugin - PHP Codex API documentation generated by ApiGen