/
home
/
techb158
/
l2hypotheques.com
/
wp-content
/
plugins
/
elementor
/
modules
/
favorites
/
/home/techb158/l2hypotheques.com/wp-content/plugins/elementor/modules/favorites
mkdir
upload
Name
Size
Mode
Actions
types/
-
0755
rm
controller.php
2000
0644
edit
dl
rm
favorites-type.php
806
0644
edit
dl
rm
module.php
5075
0644
edit
dl
rm
Edit:
/home/techb158/l2hypotheques.com/wp-content/plugins/elementor/modules/favorites/favorites-type.php
(806B)
<?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; } }
Save
cmd:
run