File manager - Edit - /home/xfekoga/rooftopcleaners/wp-content/plugins/wp-rocket/inc/ThirdParty/Themes/SubscriberFactory.php
Back
<?php declare(strict_types=1); namespace WP_Rocket\ThirdParty\Themes; use WP_Rocket\ThirdParty\SubscriberFactoryInterface; class SubscriberFactory implements SubscriberFactoryInterface { /** * Get a theme subscriber data * * @return array */ public function get_subscriber() { $theme = ThemeResolver::get_current_theme(); switch ( $theme ) { case 'avada': return [ 'class' => Avada::class, 'arguments' => [ 'options', ], ]; case 'bridge': return [ 'class' => Bridge::class, 'arguments' => [ 'options', ], ]; case 'divi': return [ 'class' => Divi::class, 'arguments' => [ 'options_api', 'options', 'delay_js_html', 'rucss_used_css_controller', ], ]; case 'flatsome': return [ 'class' => Flatsome::class, 'arguments' => [], ]; case 'jevelin': return [ 'class' => Jevelin::class, 'arguments' => [], ]; case 'minimalist_blogger': return [ 'class' => MinimalistBlogger::class, 'arguments' => [], ]; case 'polygon': return [ 'class' => Polygon::class, 'arguments' => [], ]; case 'uncode': return [ 'class' => Uncode::class, 'arguments' => [], ]; case 'xstore': return [ 'class' => Xstore::class, 'arguments' => [], ]; case 'themify': return [ 'class' => Themify::class, 'arguments' => [ 'options', ], ]; case 'shoptimizer': return [ 'class' => Shoptimizer::class, 'arguments' => [], ]; default: return []; } } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings