Segments WIP

This commit is contained in:
Justin Foell
2021-03-26 16:36:03 -05:00
parent 66da9fdb09
commit 44ae37f73f
5 changed files with 214 additions and 1 deletions
+13
View File
@@ -165,6 +165,19 @@ class WPStrava {
return $this->routes;
}
/**
* Get the segments object.
*
* @return WPStrava_Segments
* @since 2.9.0
*/
public function get_segments() {
if ( ! $this->segments ) {
$this->segments = new WPStrava_Segments();
}
return $this->segments;
}
/**
* Register the wp-strava stylesheet.
*/