![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/www/wp-content/themes/dt-the7/inc/mods/bundled-content/ |
<?php /** * Bundled plugin content * * @package The7 * @since 5.1.5 */ defined( 'ABSPATH' ) || exit; if ( ! is_admin() ) { return; } $bundled_plugins = [ new \The7\Mods\Bundled_Content\WPB(), new \The7\Mods\Bundled_Content\Brainstorm(), ]; foreach ( $bundled_plugins as $bundled_plugin ) { /** * @var The7\Mods\Bundled_Content\Abstract_Bundled_Plugin $bundled_plugin */ if ( ! $bundled_plugin->is_active() ) { continue; } if ( presscore_theme_is_activated() ) { $bundled_plugin->activate_plugin(); } else { $bundled_plugin->deactivate_plugin(); } }