Helper::get_embed_options( array $_options = array() )

Get the global embedding options.


Description

Will return the options set in Vimeotheque Settings page.


Parameters

$_options

(array) (Optional) Array of options that will override the options set by the user.

Default value: array()


Return

(array) The array of options.


Source

File: includes/libs/helper.class.php

	public static function get_embed_options( array $_options = [] ){
		$embed_options	= Plugin::instance()->get_embed_options();

		if( $_options ){
			foreach( $_options as $k => $v ){
				if( isset( $_options[ $k ] ) ){
					$embed_options[ $k ] = $_options[ $k ];
				}
			}
		}

		return $embed_options;
	}

Start your video site now!

Manage and coordinate your Vimeo channels, albums or videos with your WordPress website. Perfect fit for membership, portfolio, online courses or any type of video collection.

Get Vimeotheque PRO!