WP_Community_Events
Methods
1 to 9 of 9
- WP_Community_Events::__construct() – Constructor for WP_Community_Events.
- WP_Community_Events::cache_events() – Caches an array of events data from the Events API.
- WP_Community_Events::coordinates_match() – Test if two pairs of latitude/longitude coordinates match each other.
- WP_Community_Events::format_event_data_time() – Adds formatted date and time items for each event in an API response.
- WP_Community_Events::get_events_transient_key() – Generates a transient key based on user location.
- 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.
- WP_Community_Events::maybe_log_events_response() – Logs responses to Events API requests.