PluginProbe
Arile Extra / 2.4
Arile Extra v2.4
8.6 8.5 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 All 83 releases
arile-extra / arile-extra.php

arile-extra.php in Arile Extra 2.4, at arile-extra.php

57 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Arile Extra
4 * Plugin URI: https://themearile.com/arilewp/
5 * Description: Arile Extra Enhances ThemeArile with additional functionality.
6 * Version: 2.4
7 * Author: ThemeArile
8 * Author URI: https://themearile.com/
9 * Tested up to: 5.7
10 * Requires: 4.6 or higher
11 * License: GPLv3 or later
12 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
13 * Requires PHP: 5.6
14 * Text Domain: arile-extra
15 * Domain Path: /languages
16 */
17
18 define( 'arile_extra_plugin_url', plugin_dir_url( __FILE__ ) );
19 define( 'arile_extra_plugin_dir', plugin_dir_path( __FILE__ ) );
20
21
22
23 if( !function_exists('arile_extra_init') ){
24 function arile_extra_init(){
25 $activate_theme_data = wp_get_theme(); // getting current theme data
26 $activate_theme = $activate_theme_data->name;
27
28 if( 'ArileWP' == $activate_theme || 'Business Street' == $activate_theme || 'StrangerWP' == $activate_theme || 'NewYork City' == $activate_theme || 'InteriorPress' == $activate_theme || 'Architect Design' == $activate_theme || 'ArileWP Child Theme' == $activate_theme ){
29 require("inc/arilewp/arilewp.php");
30 }
31 if( 'ConsultStreet' == $activate_theme || 'BrightPress' == $activate_theme || 'FitnessBase' == $activate_theme || 'ConsultStreet Child Theme' == $activate_theme){
32 require("inc/consultstreet/consultstreet.php");
33 }
34 if( 'Designexo' == $activate_theme || 'Empresa' == $activate_theme ){
35 require("inc/designexo/designexo.php");
36 }
37 }
38 add_action( 'init', 'arile_extra_init' );
39 }
40
41
42 /**
43 * Define plugin textdomain.
44 */
45 function arile_extra_textdomain() {
46 load_plugin_textdomain( 'arile-extra', false, plugin_dir_url(__FILE__). 'languages' );
47 }
48 add_action( 'init', 'arile_extra_textdomain' );
49
50 /**
51 * The code during plugin activation.
52 */
53 function activate_arile_extra() {
54 require_once plugin_dir_path( __FILE__ ) . 'inc/arile-extra-activator.php';
55 Arile_Extra_Activator::activate();
56 }
57 register_activation_hook( __FILE__, 'activate_arile_extra' );