mirror of
https://github.com/10h30/wp-strava.git
synced 2026-07-13 03:36:43 +09:00
Segments WIP
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user