Adds formatted date and time items for each event in an API response.
WP_Community_Events::trim_events
Prepares the event list for presentation.
_WP_Editors::enqueue_default_editor
Enqueue all editor scripts.
_WP_Editors::print_default_editor_scripts
Print (output) all editor scripts and default settings.
Advertisement
_WP_Editors::get_mce_locale
Returns the TinyMCE locale.
_WP_Editors::get_baseurl
Returns the TinyMCE base URL.
_WP_Editors::default_settings
Returns the default TinyMCE settings.
_WP_Editors::print_tinymce_scripts
Print (output) the main TinyMCE scripts.
Advertisement
WP_Community_Events::__construct
Constructor for WP_Community_Events.
WP_Community_Events::get_events
Gets data about events near a particular location.
WP_Community_Events::get_request_args
Builds an array of args to use in an HTTP request to the w.org Events API.
WP_Community_Events::get_unsafe_client_ip
Determines the user’s actual IP address and attempts to partially anonymize an IP address by converting it to a network ID.
Advertisement
WP_Community_Events::coordinates_match
Test if two pairs of latitude/longitude coordinates match each other.
WP_Community_Events::get_events_transient_key
Generates a transient key based on user location.
WP_Community_Events::cache_events
Caches an array of events data from the Events API.