Automattic\WooCommerce\EmailEditor\Integrations\Core\Renderer\Blocks

Embed::get_all_supported_providersprivateWC 1.0

Get all supported providers (audio and video).

Method of the class: Embed{}

No Hooks.

Returns

Array. All supported providers.

Usage

// private - for code of main (parent) class only
$result = $this->get_all_supported_providers(): array;

Embed::get_all_supported_providers() code WC 10.4.3

private function get_all_supported_providers(): array {
	return array_merge( array_keys( self::AUDIO_PROVIDERS ), array_keys( self::VIDEO_PROVIDERS ) );
}