| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/blueversion/wp-content/plugins/stm-motors-extends/ |
Upload File : |
<?php
/**
* Plugin Name: STM Motors Extends
* Plugin URI: https://stylemixthemes.com/
* Description: STM Motors Extends WordPress Plugin
* Version: 2.0.5
* Author: StylemixThemes
* Author URI: https://stylemixthemes.com/
* License: GPL2
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: stm_motors_extends
* Domain Path: /languages
*/
define( 'STM_MOTORS_EXTENDS_PLUGIN_VERSION', '2.0.5' );
define( 'STM_MOTORS_EXTENDS_DB_VERSION', '1.0.2' );
define( 'STM_MOTORS_EXTENDS_ROOT_FILE', __FILE__ );
define( 'STM_MOTORS_EXTENDS_PATH', dirname( __FILE__ ) );
define( 'STM_MOTORS_EXTENDS_INC_PATH', dirname( __FILE__ ) . '/inc/' );
define( 'STM_MOTORS_EXTENDS_URL', plugins_url( '', __FILE__ ) );
if ( ! is_textdomain_loaded( 'stm_motors_extends' ) ) {
load_plugin_textdomain( 'stm_motors_extends', false, 'stm-motors-extends/languages' );
}
if ( ! function_exists( 'is_plugin_active' ) ) {
include_once ABSPATH . 'wp-admin/includes/plugin.php';
}
if ( ! is_plugin_active( 'stm-post-type/stm-post-type.php' ) && ! class_exists( 'STM_PostType' ) ) {
add_action(
'plugins_loaded',
function() {
require_once dirname( __FILE__ ) . '/stm-post-type/stm-post-type.php';
}
);
}
require_once dirname( __FILE__ ) . '/nuxy/NUXY.php';
require_once STM_MOTORS_EXTENDS_INC_PATH . 'wpcfto_conf.php';
require_once STM_MOTORS_EXTENDS_INC_PATH . 'helpers.php';
require_once STM_MOTORS_EXTENDS_INC_PATH . 'patcher.php';
if ( 'ev_dealer' === stm_me_get_current_layout() ) {
require_once STM_MOTORS_EXTENDS_INC_PATH . 'stm-swiper-slider.php';
// phpcs:ignore WordPress.Security.NonceVerification.Recommended
if ( is_admin() && isset( $_GET['page'] ) && 'stm-listing-slider' === $_GET['page'] ) {
add_action( 'admin_footer', 'stm_swiper_slider_admin_footer_styles' );
}
}
function stm_swiper_slider_admin_footer_styles() {
?>
<style>
.stm_swiper_slides_repeater .wpcfto-field-content, .stm_swiper_slides_repeater .wpcfto-field-content .wpcfto_multi_checkbox label {
width: 100% !important;
</style>
<?php
}
$widgets_path = STM_MOTORS_EXTENDS_INC_PATH . 'widgets';
// Widgets.
require_once $widgets_path . '/text-widget.php';
require_once $widgets_path . '/contacts.php';
require_once $widgets_path . '/socials.php';
require_once $widgets_path . '/latest-posts.php';
require_once $widgets_path . '/address.php';
require_once $widgets_path . '/dealer_info.php';
require_once $widgets_path . '/car_location.php';
require_once $widgets_path . '/similar_cars.php';
require_once $widgets_path . '/car-contact-form.php';
require_once $widgets_path . '/classified-four-price-view.php';
require_once $widgets_path . '/classified-four-car-data.php';
require_once $widgets_path . '/schedule_showing.php';
require_once $widgets_path . '/car_calculator.php';
require_once $widgets_path . '/car_calculator.php';
require_once $widgets_path . '/car_trade_offer_btns.php';
if ( function_exists( 'stm_is_magazine' ) && stm_is_magazine() ) {
require_once $widgets_path . '/recomended_for_you.php';
}
if ( is_admin() ) {
require_once STM_MOTORS_EXTENDS_INC_PATH . 'announcement/main.php';
}