mirror of
https://github.com/10h30/wp-strava.git
synced 2026-07-13 11:46:41 +09:00
Added date_start & date_end params to Activities shortcode
Switched get_activities to single args array param
This commit is contained in:
@@ -16,7 +16,7 @@ class WPStrava_LatestMap {
|
||||
$activities = array();
|
||||
|
||||
try {
|
||||
$activities = $strava_activity->get_activities( $args['client_id'], $args['strava_club_id'] );
|
||||
$activities = $strava_activity->get_activities( $args );
|
||||
} catch ( WPStrava_Exception $e ) {
|
||||
// If athlete_token is still set, warn about that first and foremost.
|
||||
if ( isset( $args['athlete_token'] ) ) {
|
||||
|
||||
Reference in New Issue
Block a user