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

Video::get_play_icon_urlprivateWC 1.0

Get the URL for the play button icon.

Method of the class: Video{}

No Hooks.

Returns

String. Play button icon URL.

Usage

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

Video::get_play_icon_url() code WC 10.5.0

private function get_play_icon_url(): string {
	$file_name = '/icons/video/play2x.png';
	return plugins_url( $file_name, __FILE__ );
}