|
@@ -35,11 +35,7 @@ |
|
35
|
35
|
return $this->url; |
|
36
|
36
|
} |
|
37
|
37
|
|
|
38
|
38
|
public function get_media(): string { |
|
39
|
|
- if ( str_starts_with( $this->media, '@media' ) ) { |
|
40
|
|
- return substr( $this->media, 6 ); |
|
41
|
|
- } |
|
42
|
|
- |
|
43
|
39
|
return $this->media; |
|
44
|
40
|
} |
|
45
|
41
|
} |