AnonSec Team
Server IP : 10.131.40.8  /  Your IP : 216.73.216.15
Web Server : Apache
System : Linux webd008.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : ludmqhh ( 137773)
PHP Version : 8.4.10
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/ludmqhh/www/hotel-forum/wp-content/_plugins/stm-configurations/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/ludmqhh/www/hotel-forum/wp-content/_plugins/stm-configurations/stm-configurations.php
<?php
/*
Plugin Name: STM Configurations
Plugin URI: https://stylemixthemes.com/
Description: STM Configurations
Author: Stylemix Themes
Author URI: https://stylemixthemes.com/
Text Domain: stm-configurations
Version: 1.3.4
*/

$is_stm_theme = ! empty( get_option( 'stm_theme_version' ) );

if ( ! $is_stm_theme ) {
	return false;
}

define( 'STM_CONFIGURATIONS_PATH', dirname( __FILE__ ) );
define( 'STM_CONFIGURATIONS_URL', plugin_dir_url( __FILE__ ) );
define( 'STM_IMAGES', STM_CONFIGURATIONS_URL . 'post-types/metaboxes/butterbean/images/' );

if ( ! is_textdomain_loaded( 'stm-configurations' ) ) {
	load_plugin_textdomain( 'stm-configurations', false, 'stm-configurations/languages' );
}

require_once STM_CONFIGURATIONS_PATH . '/helpers/includes.php';

/*Custom icons*/
require_once STM_CONFIGURATIONS_PATH . '/iconloader/stm-custom-icons.php';

/*Post types*/
require_once STM_CONFIGURATIONS_PATH . '/post-types/post_types.php';

/**
 * Widgets
 */
require_once STM_CONFIGURATIONS_PATH . '/widgets/gallery.php';
require_once STM_CONFIGURATIONS_PATH . '/widgets/contacts.php';
require_once STM_CONFIGURATIONS_PATH . '/widgets/socials.php';
require_once STM_CONFIGURATIONS_PATH . '/widgets/seasonal_price.php';


add_action( 'wp_enqueue_scripts', 'enqueue_sticky_sidebar' );
function enqueue_sticky_sidebar() {
	wp_register_script( 'sticky-sidebar', STM_CONFIGURATIONS_URL . 'assets/js/sticky-sidebar.min.js', array( 'jquery' ), 1, true );
	wp_register_script( 'handle_sticky-sidebar', STM_CONFIGURATIONS_URL . 'assets/js/handle_sticky_sidebar.js', array( 'jquery' ), 1, true );
}


if ( is_admin() ) {
	require_once STM_CONFIGURATIONS_PATH . '/helpers/enqueue.php';


	/*Demo import*/
	require_once STM_CONFIGURATIONS_PATH . '/importer/importer.php';

	/*Extend theme options*/
	require_once STM_CONFIGURATIONS_PATH . '/helpers/extend_theme_options.php';

	/*Metaboxes*/
	require_once STM_CONFIGURATIONS_PATH . '/post-types/metaboxes/butterbean_metaboxes.php';

}

AnonSec - 2021