The main class where everything begins.
Add calendar and/or geolocation metadata on posts
Methods | ||
---|---|---|
public
|
__construct()
|
# |
public
|
EventPost()
|
# |
public
|
init()
|
# |
public
|
widgets_init()
|
# |
public
|
register_widgets()
|
# |
public
|
hex2dec(string $color = '000000'): array
|
# |
public
|
get_thumbnail_sizes(): array
|
# |
public
|
get_settings(): array
|
# |
public
|
custom_shema(array $shema): array
|
# |
public
|
get_maps(): array
|
# |
public
|
get_colors(): array
|
# |
public
|
get_post_color(int $post_id, bool $default = false, bool $check_taxo = false): string
|
# |
public
|
get_post_icon(int $post_id, bool $default = false, bool $check_taxo = false): string|false
|
# |
public
|
get_marker(string $color): sring
|
# |
public
|
load_styles($deps = null)
|
# |
public
|
editor_styles()
|
# |
public
|
load_scripts()
|
# |
public
|
load_map_scripts()
|
# |
public
|
admin_head()
|
# |
public
|
admin_scripts($deps = ['jquery'], $force = false)
|
# |
public
|
scripts_edit()
|
# |
public
|
get_rich_result($event)
|
# |
public
|
wpseo_schema_webpage($rich_result)
|
# |
public
|
get_theme_palette($return = "hex")
|
# |
public
|
single_header()
|
# |
public
|
date_cleanup(type $str): string
|
# |
public
|
dateisvalid(string $str): boolean
|
# |
public
|
parsedate(string $date, string $sep = ''): string
|
# |
public
|
sanitize_coordinate(string $str): string
|
# |
public
|
human_date(mixed $date, string $format = 'l j F Y'): type
|
# |
public
|
delta_date(timestamp $time_start, timestamp $time_end): string
|
# |
public
|
print_date($post = null, mixed $links = 'deprecated', $context = ''): string
|
# |
public
|
print_location($post = null, $context = ''): string
|
# |
public
|
color_darkness(string $color): float
|
# |
public
|
print_categories($post = null, $context = ''): string
|
# |
public
|
get_single($post = null, string $class = '', $context = ''): string
|
# |
public
|
get_singledate($post = null, string $class = '', $context = ''): string
|
# |
public
|
get_singlecat($post = null, string $class = '', $context = ''): string
|
# |
public
|
get_singleloc($post = null, string $class = '', $context = ''): string
|
# |
public
|
display_single(string $content): string
|
# |
public
|
print_single($post = null): void
|
# |
public
|
the_title(string $title, $post_id = null): string
|
# |
public
|
get_price($event, $html = false)
|
# |
public
|
list_events(array $atts, string $id = 'event_list', string $context = ''): string
|
# |
public
|
get_events(array $atts): array
|
# |
public
|
is_future(object $event, boolean $exact = false): boolean
|
# |
public
|
is_past(object $event, boolean $exact = false): boolean
|
# |
public
|
is_online($event): boolean
|
# |
public
|
is_offline($event): boolean
|
# |
public
|
retreive(object $event = null): object
|
# |
public
|
retreive_term(mixed $_term = null, string $taxonomy = 'category', string $post_type = 'post')
|
# |
public
|
add_custom_box()
|
# |
public
|
inner_custom_box_date()
|
# |
public
|
inner_custom_box_loc($post)
|
# |
public
|
icon_color_fields($item_id, $meta_color, $value_color, $meta_icon, $value_icon)
|
# |
public
|
quick_edit(string $column_name, $post_type, boolean $bulk = false)
|
# |
public
|
inline_field(type $fieldname, $bulk): string
|
# |
public
|
inline_field_color($html, $fieldname, $bulk)
|
# |
public
|
inline_field_icon($html, $fieldname, $bulk)
|
# |
public
|
bulk_edit(type $column_name, type $post_type)
|
# |
public
|
inline_save(): void
|
# |
public
|
save_postdata(int $post_id): void
|
# |
public
|
save_bulkdatas(array $post_ids, array $shared_post_data): void
|
# |
public
|
display_caldate(
string $date,
string $cat = '',
boolean $display = false,
$colored = true,
$thumbnail = '',
$title = '',
$tax_name = '',
$tax_term = '',
): boolean
|
# |
public
|
calendar(array $atts): string
|
# |
public
|
ajaxlist(): void
|
# |
public
|
ajaxTimeline(): void
|
# |
public
|
ajaxGetNextPage(): void
|
# |
public
|
ajaxcal(): void
|
# |
public
|
ajaxdate()
|
# |
public
|
HumanDate()
|
# |
public
|
search(type $atts): type
|
# |
public
|
GetLatLong()
|
# |
public
|
columns_head(array $defaults): array
|
# |
public
|
columns_content(string $column_name, int $post_id)
|
# |
public
|
dashboard_right_now(array $elements): array
|
# |
public
|
ics_date(timestamp $timestamp): string
|
# |
public
|
get_gmt_offset()
|
# |
public
|
parse_request()
|
# |
public
|
export()
|
# |
public
|
feed()
|
# |
Properties | |||
---|---|---|---|
public
|
array
|
$version = '5.9.2'
|
# |
public
|
string
|
$META_START = 'event_begin'
|
# |
public
|
string
|
$META_END = 'event_end'
|
# |
public
|
string
|
$META_COLOR = 'event_color'
|
# |
public
|
string
|
$META_ICON = 'event_icon'
|
# |
public
|
string
|
$META_ADD = 'geo_address'
|
# |
public
|
string
|
$META_LAT = 'geo_latitude'
|
# |
public
|
string
|
$META_LONG = 'geo_longitude'
|
# |
public
|
string
|
$META_VIRTUAL_LOCATION = 'event_virtual_location'
|
# |
public
|
string
|
$META_STATUS = 'event_status'
|
# |
public
|
string
|
$META_ATTENDANCE_MODE = 'event_attendance_mode'
|
# |
public
|
string
|
$META_ORGANIZATION = 'event_organization'
|
# |
public
|
string
|
$META_OFFER = 'event_offer'
|
# |
public
|
int
|
$list_id
|
# |
public
|
int
|
$map_id = 0
|
# |
public
|
array
|
$NomDuMois
|
# |
public
|
array
|
$Week
|
# |
public
|
array
|
$currencies = []
|
# |
public
|
string
|
$dateformat
|
# |
public
|
string
|
$plugin_path
|
# |
public
|
array
|
$settings
|
# |
public
|
array
|
$map_interactions
|
# |
public
|
array
|
$quick_edit_fields
|
# |
public
|
array
|
$bulk_edit_fields
|
# |
public
|
array
|
$attendance_modes
|
# |
public
|
array
|
$statuses
|
# |
public
|
string
|
$default_list_shema
|
# |
public
|
string
|
$default_timeline_shema
|
# |
public
|
string
|
$list_shema
|
# |
public
|
string
|
$timeline_shema
|
# |
public
|
array
|
$maps
|
# |
public
|
string
|
$markpath
|
# |
public
|
string
|
$markurl
|
# |
public
|
Taxonomies
|
$Taxonomies
|
# |
public
|
Icons
|
$DashIcons
|
# |
public
|
Settings
|
$Settings
|
# |
public
|
Shortcodes
|
$Shortcodes
|
# |
public
|
array
|
$kses_tags
|
# |