• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
WordPress.org
WordPress.org
  • Plugins
  • Themes
  • Patterns
  • Learn
  • Support
    • Documentation
    • Forums
  • News
  • About
  • Get Involved
    • Five for the Future
  • Showcase
  • Mobile
  • Hosting
  • Openverse
  • Get WordPress
Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-admin/includes/class-wp-community-events.php

WP_Community_Events::format_event_data_time()

Method: Adds formatted date and time items for each event in an API response.

Source: wp-admin/includes/class-wp-community-events.php:378

Used by 0 functions | Uses 6 functions

WP_Community_Events::trim_events()

Method: Prepares the event list for presentation.

Source: wp-admin/includes/class-wp-community-events.php:461

Used by 2 functions | Uses 1 function

WP_Community_Events::maybe_log_events_response()

Method: Logs responses to Events API requests.

Source: wp-admin/includes/class-wp-community-events.php:509

Used by 0 functions | Uses 2 functions

WP_Community_Events

Class: Class WP_Community_Events.

Source: wp-admin/includes/class-wp-community-events.php:17

Used by 0 functions | Uses 0 functions

WP_Community_Events::__construct()

Method: Constructor for WP_Community_Events.

Source: wp-admin/includes/class-wp-community-events.php:53

Used by 2 functions | Uses 1 function

WP_Community_Events::get_events()

Method: Gets data about events near a particular location.

Source: wp-admin/includes/class-wp-community-events.php:90

Used by 0 functions | Uses 14 functions

WP_Community_Events::get_request_args()

Method: Builds an array of args to use in an HTTP request to the w.org Events API.

Source: wp-admin/includes/class-wp-community-events.php:184

Used by 1 function | Uses 2 functions

WP_Community_Events::get_unsafe_client_ip()

Method: Determines the user’s actual IP address and attempts to partially anonymize an IP address by converting it to a network ID.

Source: wp-admin/includes/class-wp-community-events.php:240

Used by 2 functions | Uses 1 function

WP_Community_Events::coordinates_match()

Method: Test if two pairs of latitude/longitude coordinates match each other.

Source: wp-admin/includes/class-wp-community-events.php:290

Used by 1 function | Uses 0 functions

WP_Community_Events::get_events_transient_key()

Method: Generates a transient key based on user location.

Source: wp-admin/includes/class-wp-community-events.php:311

Used by 2 functions | Uses 0 functions

WP_Community_Events::cache_events()

Method: Caches an array of events data from the Events API.

Source: wp-admin/includes/class-wp-community-events.php:332

Used by 1 function | Uses 3 functions

WP_Community_Events::get_cached_events()

Method: Gets cached events.

Source: wp-admin/includes/class-wp-community-events.php:354

Used by 1 function | Uses 3 functions
  • About
  • News
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
Code is Poetry