HEX
Server: LiteSpeed
System: Linux premium263.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: eastcjee (525)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /home/eastcjee/public_html/wp-content/plugins/presto-player/inc/Support/Integration.php
<?php

namespace PrestoPlayer\Support;

class Integration {

	/**
	 * Register integration filter
	 *
	 * @return void
	 */
	public function register() {
		add_filter( 'presto_player_load_video', array( $this, 'allow' ), 10, 4 );
	}

	/**
	 * Whether to allow the player to load
	 *
	 * @param bool   $load
	 * @param array  $attributes
	 * @param string $content
	 * @param string $name
	 *
	 * @return bool
	 */
	public function allow( $load, $attributes, $content, $name ) {
		return $load;
	}
}