Caches an array of events data from the Events API.
WP_Community_Events::get_events_transient_key
Generates a transient key based on user location.
WP_Community_Events::coordinates_match
Test if two pairs of latitude/longitude coordinates match each other.
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::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::__construct
Constructor for WP_Community_Events.
get_term_parents_list
Retrieve term parents with separator.
Advertisement
wp_generate_tag_cloud
Generates a tag cloud (heatmap) from provided data.
wp_tag_cloud
Displays a tag cloud.
get_category_parents
Retrieve category parents with separator.
media_sideload_image
Downloads an image from the specified URL and attaches it to a post.
Advertisement
wp_dashboard_primary_output
Display the WordPress events and news feeds.
wp_dashboard_primary
‘WordPress Events and News’ dashboard widget.
wp_print_community_events_templates
Renders the events templates for the Event and News widget.