File manager - Edit - /home/verseaumee/TF89388/wp-content/themes/noisa/admin/admin-plugins.php
Back
<?php /** * Theme Name: Noisa * Theme Author: Mariusz Rek - Rascals Themes * Theme URI: http://rascalsthemes.com/noisa * Author URI: http://rascalsthemes.com * File: admin-plugins.php * @package noisa * @since 1.0.0 */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } /* ================================================== Plugins ================================================== */ /* King Composer License -------------------------------- */ /* Only for theme included King Composer Pro */ /* TGMPA Activation Class -------------------------------- */ require_once( 'classes/class-tgm-plugin-activation.php' ); add_action( 'tgmpa_register', 'noisa_register_required_plugins', 1 ); function noisa_register_required_plugins() { $plugins = array( /** * Pre-packaged Plugins */ array( 'name' => esc_html__( 'Noisa Toolkit', 'noisa' ), // The plugin name 'slug' => 'noisa-toolkit', // The plugin slug (typically the folder name) 'source' => get_template_directory() . '/admin/plugins/noisa-toolkit.zip', // The plugin source 'required' => true, // If false, the plugin is only 'recommended' instead of required 'version' => '1.0.6', // E.g. 1.0.0. If set, the active plugin must be this version or higher, otherwise a notice is presented 'force_activation' => false, // If true, plugin is activated upon theme activation and cannot be deactivated until theme switch 'force_deactivation' => false, // If true, plugin is deactivated upon theme switch, useful for theme-specific plugins 'external_url' => '', // If set, overrides default API URL and points to an external URL ), array( 'name' => esc_html__( 'WPBakery Visual Composer', 'noisa' ), // The plugin name 'slug' => 'js_composer', // The plugin slug (typically the folder name) 'source' => get_template_directory() . '/admin/plugins/js_composer.zip', // The plugin source 'required' => false, // If false, the plugin is only 'recommended' instead of required 'version' => '6.5.0', // E.g. 1.0.0. If set, the active plugin must be this version or higher, otherwise a notice is presented 'force_activation' => false, // If true, plugin is activated upon theme activation and cannot be deactivated until theme switch 'force_deactivation' => false, // If true, plugin is deactivated upon theme switch, useful for theme-specific plugins 'external_url' => '', // If set, overrides default API URL and points to an external URL ), array( 'name' => esc_html__( 'Slider Revolution', 'noisa' ), // The plugin name 'slug' => 'revslider', // The plugin slug (typically the folder name) 'source' => get_template_directory() . '/admin/plugins/revslider.zip', // The plugin source 'required' => false, // If false, the plugin is only 'recommended' instead of required 'version' => '6.3.5', // E.g. 1.0.0. If set, the active plugin must be this version or higher, otherwise a notice is presented 'force_activation' => false, // If true, plugin is activated upon theme activation and cannot be deactivated until theme switch 'force_deactivation' => false, // If true, plugin is deactivated upon theme switch, useful for theme-specific plugins 'external_url' => '', // If set, overrides default API URL and points to an external URL ), /** * WordPress.org Plugins */ array( 'name' => esc_html__( 'Kirki - Theme Customizer', 'noisa' ), // The plugin name 'slug' => 'kirki', // The plugin slug (typically the folder name) 'required' => false, // If false, the plugin is only 'recommended' instead of required ), array( 'name' => esc_html__( 'MailChimp for WordPress', 'noisa' ), // The plugin name 'slug' => 'mailchimp-for-wp', // The plugin slug (typically the folder name) 'required' => false, // If false, the plugin is only 'recommended' instead of required ), array( 'name' => esc_html__( 'Contact Form 7', 'noisa' ), // The plugin name 'slug' => 'contact-form-7', // The plugin slug (typically the folder name) 'required' => false, // If false, the plugin is only 'recommended' instead of required ), array( 'name' => esc_html__( 'Safe SVG - Support for SVG files', 'noisa' ), // The plugin name 'slug' => 'safe-svg', // The plugin slug (typically the folder name) 'required' => false, // If false, the plugin is only 'recommended' instead of required ), array( 'name' => esc_html__( 'WooCommerce', 'noisa' ), // The plugin name 'slug' => 'woocommerce', // The plugin slug (typically the folder name) 'required' => false, // If false, the plugin is only 'recommended' instead of required ) ); // Change this to your theme text domain, used for internationalising strings $theme_text_domain = 'noisa'; $config = array( 'id' => 'rascals_plugins', 'domain' => 'noisa', // Text domain - likely want to be the same as your theme. 'default_path' => '', // Default absolute path to pre-packaged plugins 'parent_slug' => 'admin-page', 'menu' => 'admin-plugins', 'has_notices' => true, // Show admin notices or not 'is_automatic' => false, // Automatically activate plugins after installation or not 'message' => '', // Message to output right before the plugins table 'strings' => array( 'page_title' => esc_html__( 'Install Theme Plugins', 'noisa' ), 'menu_title' => esc_html__( 'Plugins', 'noisa' ), 'desc' => esc_html__( 'Install the included plugins with bottom panel. All the plugins are well tested to work with the theme and we keep them up to date. The themes comes packed with the following plugins:', 'noisa' ), ), ); tgmpa( $plugins, $config ); }
| ver. 1.4 |
Github
|
.
| PHP 8.5.7 | Generation time: 0 |
proxy
|
phpinfo
|
Settings