Changeset 9748
- Timestamp:
- 04/20/2020 10:27:59 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/events/1.0/index.php
r9743 r9748 952 952 */ 953 953 function get_regional_wordcamp_data() { 954 // `promo_start` should be 2 months before the Event's start date. See `maybe_add_regional_wordcamps()`. 955 954 956 return array( 955 957 // WordCamp Asia. 956 958 'asia' => array( 957 'promo_start' => strtotime( '2019-12-20 00:00:00' ), // todo959 'promo_start' => strtotime( '2019-12-20 00:00:00' ), 958 960 'regional_countries' => array( 959 961 'cn', 'hk', 'jp', 'kp', 'kr', 'mn', 'mo', 'tw', 'af', 'bd', … … 984 986 // WordCamp Europe. 985 987 'europe' => array( 986 'promo_start' => 0, // todo988 'promo_start' => strtotime( '2020-04-04 00:00:00' ), 987 989 'regional_countries' => array( 988 990 // todo … … 994 996 'meetup' => '', 995 997 'meetup_url' => '', 996 'date' => ' ', // todo997 'end_date' => ' ', // todo998 'date' => '2020-06-04 00:00:00', 999 'end_date' => '2020-06-06 00:00:00', 998 1000 'location' => array( 999 1001 'location' => 'Porto, Portugal', … … 1006 1008 // WordCamp US. 1007 1009 'us' => array( 1008 'promo_start' => strtotime( '20 19-08-1600:00:00' ),1010 'promo_start' => strtotime( '2020-08-27 00:00:00' ), 1009 1011 'regional_countries' => array( 1010 1012 'us', 'ca', 'bz', 'cr', 'sv', 'gt', 'hn', 'mx', 'ni', 'pa', … … 1016 1018 'type' => 'wordcamp', 1017 1019 'title' => 'WordCamp US', 1018 'url' => 'https://20 19.us.wordcamp.org/',1020 'url' => 'https://2020.us.wordcamp.org/', 1019 1021 'meetup' => '', 1020 1022 'meetup_url' => '', 1021 'date' => '2019-11-01 00:00:00', 1022 'end_date' => '2019-11-03 00:00:00', 1023 'date' => '2020-10-27 00:00:00', 1024 'end_date' => '2020-10-29 00:00:00', 1025 1023 1026 'location' => array( 1024 1027 'location' => 'St. Louis, MO, USA', … … 1059 1062 /** 1060 1063 * The targeted area of the regional camp promotion "zooms in" over the course of 6 weeks. 1064 * 1065 * For the last 2 weeks before the event, it will just be displayed to everyone in the normal (400km) radius. 1061 1066 */ 1062 1067 if ( is_within_date_range( $current_time, $start, strtotime( '+ 2 weeks', $start ) ) ) {
Note: See TracChangeset
for help on using the changeset viewer.