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
364 | public static function get_width( $before = ' style="' , $after = '"' , $echo = true ){ |
365 | $player = \Vimeotheque\Helper::get_embed_options( self::get_player_options() ); |
366 | if ( $echo ){ |
367 | echo $before . 'width: ' . $player [ 'width' ]. 'px; ' . $after ; |
368 | } |
369 | return $before . 'width: ' . $player [ 'width' ]. 'px; ' . $after ; |
370 | } |