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_Mailer_Ajax_Listeners
  • Inbound_Mailer_Clone_Post
  • Inbound_Mailer_Common_Settings
  • Inbound_Mailer_Customizer
  • Inbound_Mailer_Enqueues
  • Inbound_Mailer_Post_Type
  • Overview
  • Package
  • Class

Class Inbound_Mailer_Post_Type

Class Inbound_Mailer_Post_Type registers the inbound-email CPT and expands UI features of the CPT listing screen

Package: Mailer\Management
Located at core/mailer/classes/class.post-type.inbound-email.php
Methods summary
public
# __construct( )
public static
# load_hooks( )
public static
# load_screen_options( )

Load range

Load range

public static
# rebuild_permalinks( )

Rebuilds permalinks after activation

Rebuilds permalinks after activation

public static
# register_post_type( )

Registers inbound-email post type

Registers inbound-email post type

public static
# register_tag_taxonomy( )

Register Tag Taxonomy

Register Tag Taxonomy

public static
# register_columns( $cols )

Register Columns

Register Columns

public static
# prepare_column_data( $column, $post_id )

Prepare Column Data

Prepare Column Data

public static
# check_if_scheduled_emails_sent( )
public static mixed
# define_sortable_columns( $columns )

Defines sortable columns

Defines sortable columns

Parameters

$columns

Returns

mixed
public static
# process_column_sorting( $pieces, $query )
public static
# register_post_status( )

Registers all post status types related to the inbound-email cpt

Registers all post status types related to the inbound-email cpt

Adds

post_status unsent
post_status sent
post_status sending
post_status scheduled
post_status automated
public static
# add_post_status( )

Adds dropdown support for added post status

Adds dropdown support for added post status

public static string
# add_screen_option_field( $rv, $screen )

Hooked into 'screen_settings'. Adds the field to the settings area

Hooked into 'screen_settings'. Adds the field to the settings area

Returns

string
The settings fields
public static
# set_screen_option( )

Listen for updated screen option and save.

Listen for updated screen option and save.

public static
# apply_js( )

Add admin js that removes menu items

Add admin js that removes menu items

public static
# filter_row_actions( $actions, $post )

Define Row Actions

Define Row Actions

public static ARRAY
# filter_post_status_priority( ARRAY $links )

rebuild priority of post status links

rebuild priority of post status links

Parameters

$links

Returns

ARRAY
$new_links
public static
# add_category_taxonomy_filter( )

Adds ability to filter email templates by custom post type

Adds ability to filter email templates by custom post type

public static
# clear_all_inbound_email_stats( )

Clears stats of all CTAs

Clears stats of all CTAs

public static
# set_email_template_menu_location( )

Tells the 'email-templates' menu item to sit as a submenu in the 'inbound-email' parent menu

Tells the 'email-templates' menu item to sit as a submenu in the 'inbound-email' parent menu

public static
# set_email_template_labels( $labels )

Tells the 'email-templates' label to be 'Templates' instead of 'Email Templates'

Tells the 'email-templates' label to be 'Templates' instead of 'Email Templates'

public static INT
# get_last_job_id( INT $email_id )

Get last job id for automated email given an email id

Get last job id for automated email given an email id

Parameters

$email_id

Returns

INT
last job id related to email recorded in inbound_events table
public static
# get_automation_emails_as( STRING $return_type = 'OBJECT' )

Get Automation Emails

Get Automation Emails

Parameters

$return_type
OBEJCT or ARRAY
public static
# cache_data( )
public static
# enqueue_email_list_scripts( )

Enqueues scripts for the email list page

Enqueues scripts for the email list page

Properties summary
public static $stats
#
public static $range
#
public static $automated_report
#
Inbound Pro Plugin - PHP Codex API documentation generated by ApiGen