Updated documentation and version for 2.0.0

This commit is contained in:
Justin Foell
2019-10-04 16:07:07 -05:00
parent 330a65feb0
commit bc9f8f6468
9 changed files with 18 additions and 17 deletions
+2 -2
View File
@@ -155,8 +155,8 @@ class WPStrava_API {
return null;
}
$settings = WPStrava::get_instance()->settings;
$info = $settings->info;
$settings = WPStrava::get_instance()->settings;
$info = $settings->info;
if ( ! empty( $info[ $this->client_id ]->access_token ) ) {
return $info[ $this->client_id ]->access_token;