Class EventPost
The main class where everything begins.
Add calendar and/or geolocation metadata on posts
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
array
|
|
public
array
|
#
get_settings( )
Get blog settings, load and saves default settings if needed. Can be filterred using |
public
array
|
|
public
array
|
|
public
array
|
|
public
string
|
#
get_post_color( integer $post_id, boolean $default = false, boolean $check_taxo = false )
Get color of a post |
public
string|false
|
#
get_post_icon( integer $post_id, boolean $default = false, boolean $check_taxo = false )
Get icon of a post |
public
sring
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
boolean
|
|
public
string
|
|
public
type
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
float
|
|
public
string
|
|
public
string
|
#
get_single( WP_Post $post = null, string $class = '', $context = '' )
Generate, return or output date event datas |
public
string
|
#
get_singledate( WP_Post $post = null, string $class = '', $context = '' )
Displays dates of a gieven post |
public
string
|
#
get_singlecat( WP_Post $post = null, string $class = '', $context = '' )
Displays coloured terms of a given post |
public
string
|
#
get_singleloc( WP_Post $post = null, string $class = '', $context = '' )
Displays location of a given post |
public
string
|
#
display_single( string $content )
Uses |
public
|
|
public
string
|
|
public
|
|
public
string
|
#
list_events( array $atts, string $id = 'event_list', string $context = '' )
Return an HTML list of events |
public
array
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
object
|
|
public
|
#
retreive_term( mixed $_term = null, string $taxonomy = 'category', string $post_type = 'post' )
Fetch terms of a post |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
save_bulkdatas( array $post_ids, array $shared_post_data )
Saves data from bulk-edit Uses bulk_edit_posts hook |
public
boolean
|
#
display_caldate( string $date, string $cat = '', boolean $display = false, $colored = true, $thumbnail = '', $title = '', $tax_name = '' , $tax_term = '' )
Displays a date for calendar cell |
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
type
|
|
public
|
|
public
array
|
|
public
|
#
columns_content( string $column_name, integer $post_id )
Echoes content of a row in a given column |
public
array
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
public
array
|
$version
The current version |
#
'5.9.2'
|
public
string
|
$META_START
The meta name for event start date |
#
'event_begin'
|
public
string
|
$META_END
The meta name for event end date |
#
'event_end'
|
public
string
|
$META_COLOR
The meta name for event color |
#
'event_color'
|
public
string
|
$META_ICON
The meta name for event icon |
#
'event_icon'
|
public
string
|
$META_ADD
The meta name for event address |
#
'geo_address'
|
public
string
|
$META_LAT
The meta name for event latitude |
#
'geo_latitude'
|
public
string
|
$META_LONG
The meta name for event longitude |
#
'geo_longitude'
|
public
string
|
$META_VIRTUAL_LOCATION
The meta name for event location |
#
'event_virtual_location'
|
public
string
|
$META_STATUS
The meta name for event status |
#
'event_status'
|
public
string
|
$META_ATTENDANCE_MODE
The meta name for event attendance mode |
#
'event_attendance_mode'
|
public
integer
|
$list_id
ID of the current list |
|
public
array
|
$NomDuMois
Month names |
|
public
array
|
$Week
Week days |
|
public
string
|
$dateformat
Date format |
|
public
string
|
$plugin_path
Plugin path |
|
public
array
|
$settings
Settings values |
|
public
array
|
$map_interactions
Map interractions (from openlayers) |
|
public
array
|
$quick_edit_fields
Fields supported by quick-edit |
|
public
array
|
$bulk_edit_fields
Fields supported by bulk-edit |
|
public
array
|
$attendance_modes
Supported attendance modes |
|
public
array
|
$statuses
Supported statuses |
|
public
string
|
$default_list_shema
Default list schema (HTML template) |
|
public
string
|
$default_timeline_shema
Default timeline schema (HTML template) |
|
public
string
|
$list_shema
Current list schema (HTML template) |
|
public
string
|
$timeline_shema
Current timeline schema (HTML template) |
|
public
array
|
$maps
Map tiles |
|
public
string
|
$markpath
Dirpath for map tiles |
|
public
string
|
$markurl
Base URL for map tiles |
|
public
|
$Taxonomies
Taxonomies object |
|
public
|
$DashIcons
Icons object |
|
public
|
$Settings
Settings object |
|
public
|
$Shortcodes
Shortcodes object |
|
public
array
|
$kses_tags
Allowed tags in main outputs |