Overview

Namespaces

  • EventPost
  • None

Classes

  • EventPost
  • EventPost_Cal
  • EventPost_List
  • EventPost_Map
  • EventPost_Search
  • EventPost_Shortcodes
  • EventPostChild
  • EventPostMU
  • EventPostWeather

Functions

  • event_post_format_color
  • event_post_get_all_terms
  • eventdetails_block_init
  • EventPost
  • eventpost_list_block_init
  • eventpost_timeline_block_init
  • eventscalendar_block_init
  • eventsmap_block_init
  • get_the_date_end
  • get_the_date_start
  • get_the_dates
  • get_the_location
  • the_date_end
  • the_date_start
  • the_dates
  • the_location
  • Overview
  • Namespace
  • Class

Class EventPostChild

Manage child events

Package: event-post
Located at inc/children.php
Methods summary
public
# __construct( )
public
# EventPostChild( )

PHP4 constructor

PHP4 constructor

public
# init( object $EP )

Parameters

$EP
public
# add_post_type( )
public
# get_settings( array & $ep_settings, boolean & $reg_settings )

Parameters

$ep_settings
&$ep_settings
$reg_settings
&$reg_settings
public
# add_custom_box( string $post_type )

Parameters

$post_type
public
# add_custom_box_position( $position, $post_type )
public array
# get_post_types( array $post_types = array() )

Remove self post type form global list

Remove self post type form global list

Parameters

$post_types

Returns

array
public boolean
# _delete_child( integer $child_id )

Parameters

$child_id

Returns

boolean
public
# _sync_child( integer $child_id )

Parameters

$child_id
public integer|WP_Error
# _add_child( integer $post_id )

Parameters

$post_id

Returns

integer|WP_Error
The post ID on success. The value 0 or WP_Error on failure.
public array
# get( integer $post_id )

Parameters

$post_id

Returns

array
public
# save_postdata( integer $post_id )

Parameters

$post_id
public
# retreive( WP_Post $event )

Parameters

$event
public
# notice( )
public
# check_admin_legitimity( )
public
# add_child_admin_post( )
public
# add_child_ajax( )
public
# delete_child_admin_post( )
public
# settings_form( type $ep_settings )

Parameters

$ep_settings
public
# edit_form_top( type $post )

Parameters

$post
public
# inner_custom_box_children( )

display the children custom box

display the children custom box

public array
# columns_head( array $defaults )

alters columns

alters columns

Parameters

$defaults

Returns

array
public
# columns_content( string $column_name, integer $post_id )

echoes content of a row in a given column

echoes content of a row in a given column

Parameters

$column_name
$post_id
public
# display_single( $eventbar, $event )
Properties summary
public $POST_TYPE
#
API documentation generated by ApiGen