Helper::get_width( string $before = ' style="', string $after = '"', bool $echo = true )
Parameters
- $before
-
(Optional)
Default value: ' style="'
- $after
-
(Optional)
Default value: '"'
- $echo
-
(Optional)
Default value: true
Return
(string)
Source
File: includes/libs/themes/helper.class.php
public static function get_width( $before = ' style="', $after='"', $echo = true ){ $player = \Vimeotheque\Helper::get_embed_options( self::get_player_options() ); if( $echo ){ echo $before . 'width: ' . $player['width'].'px; ' . $after; } return $before . 'width: ' . $player['width'].'px; ' . $after; }