|
@@ 288-289 (lines=2) @@
|
| 285 |
|
if ( 'normal' === pods_v( static::$type . '_format', $options ) ) { |
| 286 |
|
$value = $this->build_url( $url, $options ); |
| 287 |
|
} elseif ( 'no-www' === pods_v( static::$type . '_format', $options ) ) { |
| 288 |
|
if ( 0 === strpos( $url['host'], 'www.' ) ) { |
| 289 |
|
$url['host'] = substr( $url['host'], 4 ); |
| 290 |
|
} |
| 291 |
|
|
| 292 |
|
$value = $this->build_url( $url, $options ); |
|
@@ 307-308 (lines=2) @@
|
| 304 |
|
$value = trim( $value, '/' ); |
| 305 |
|
} |
| 306 |
|
} elseif ( 'no-http-no-www' === pods_v( static::$type . '_format', $options ) ) { |
| 307 |
|
if ( 0 === strpos( $url['host'], 'www.' ) ) { |
| 308 |
|
$url['host'] = substr( $url['host'], 4 ); |
| 309 |
|
} |
| 310 |
|
|
| 311 |
|
$value = $this->build_url( $url, $options ); |