REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.65 KB
Close
/home/nshryvcy/taramarriagebureau.com/wp-content/plugins/essential-grid/includes/addons/addon.class.php
Text
Base64
<?php /** * @package Essential_Grid * @author ThemePunch <info@themepunch.com> * @link https://www.essential-grid.com/ * @copyright 2025 ThemePunch */ if( !defined( 'ABSPATH') ) exit(); abstract class Essential_Grid_Abstract_Addon { protected string $_handle; protected string $_import_keys; public function __construct() { } /** * @return string */ public function get_handle(): string { return $this->_handle; } /** * @return array */ public function get_options(): array { return get_option($this->_handle . '_options', []); } /** * is addon installed and activated * * @return bool */ public function is_installed_active(): bool { $esg_addons = Essential_Grid_Addons::instance(); $addons = $esg_addons->get_addons_list(); return !empty($addons[$this->_handle]) && $addons[$this->_handle]->installed && $addons[$this->_handle]->active; } /** * is addon used by any grid * * @return bool */ public function is_used_in_grids(): bool { $arrGrids = Essential_Grid_Db::get_entity('grids')->get_grids(false, false); foreach ($arrGrids as $grid) { if (isset($grid->params['addons'][$this->_handle])) return true; } return false; } /** * @return string */ public function get_import_keys(): string { return $this->_import_keys; } /** * check if import key can be processed by addon * * @param array $keys * * @return bool */ public function check_import_keys( array $keys): bool { return false; } /** * is addon missing * * @return bool */ public function is_missing(): bool { if ($this->is_installed_active()) return false; return $this->is_used_in_grids(); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 11
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
addon.class.php
1.65 KB
lrw-r--r--
2025-04-30 03:18:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
fonts.class.php
773 B
lrw-r--r--
2025-04-30 03:18:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
gallery.class.php
626 B
lrw-r--r--
2025-04-30 03:18:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.php
26 B
lrw-r--r--
2025-04-30 03:18:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
mediafilters.class.php
340 B
lrw-r--r--
2025-04-30 03:18:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
nextgen.class.php
330 B
lrw-r--r--
2025-04-30 03:18:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
rightclick.class.php
673 B
lrw-r--r--
2025-04-30 03:18:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
rml.class.php
322 B
lrw-r--r--
2025-04-30 03:18:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
socialmedia.class.php
338 B
lrw-r--r--
2025-04-30 03:18:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
videoplaylists.class.php
344 B
lrw-r--r--
2025-04-30 03:18:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
watermarks.class.php
336 B
lrw-r--r--
2025-04-30 03:18:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).