%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 54.36.91.62 / Your IP : 216.73.217.162 Web Server : Apache System : Linux webm002.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : wellingtpa ( 97533) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wellingtpa/www/wp-content/plugins/elementor/modules/favorites/ |
Upload File : |
<?php
namespace Elementor\Modules\Favorites;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
use Elementor\Core\Utils\Collection;
use Elementor\Core\Utils\Static_Collection;
abstract class Favorites_Type extends Static_Collection {
public function __construct( array $items = [] ) {
parent::__construct( $items, true );
}
/**
* Get the name of the type.
*
* @return mixed
*/
abstract public function get_name();
/**
* Prepare favorites before taking any action.
*
* @param Collection|array|string $favorites
*
* @return array
*/
public function prepare( $favorites ) {
if ( $favorites instanceof Collection ) {
$favorites = $favorites->values();
}
if ( ! is_array( $favorites ) ) {
return [ $favorites ];
}
return $favorites;
}
}