File manager - Edit - /home/carfac/public_html/scooterthetort/wp-content/plugins/twenty20/ttwenty.php
Back
<?php /* Plugin Name: Twenty20 Image Before-After Plugin URI: https://wordpress.org/plugins/twenty20/ Description: Professional before & after image comparison slider with touch support. Create engaging visual comparisons for photography, design, and renovation projects. Fully compatible with Elementor, WPBakery & more. Version: 2.0.4 Author: Zayed Baloch Author URI: https://www.zayedbaloch.com/ License: GPL2 */ defined('ABSPATH') or die("No script kiddies please!"); define('ZB_T20_VER', '2.0.4'); define('ZB_T20_URL', plugins_url('', __FILE__)); define('ZB_T20_DOMAIN', 'zb_twenty20'); // INITIALIZE PLUGIN function twenty20_dir_init() { load_plugin_textdomain(ZB_T20_DOMAIN); } add_action('init', 'twenty20_dir_init'); $files_to_include = [ 'inc/enqueue.php', 'inc/twenty20-shortcode.php', 'inc/widget-twenty20.php' ]; foreach ($files_to_include as $file) { include_once($file); } if (class_exists('WPBakeryShortCode')) { require_once('inc/twenty20-shortcode-vc.php'); } // Check if the function add_ux_builder_shortcode exists if (!function_exists('add_ux_builder_shortcode')) { include_once('inc/for-flatsome-ux-builder.php'); } function twenty20_ux_builder_thumbnails($name) { return ZB_T20_URL . '/assets/images/' . $name . '.png'; } function twenty20_ux_builder_template($path) { ob_start(); include 'inc/templates/' . $path; return ob_get_clean(); } function register_hello_world_widget( $widgets_manager ) { require_once( __DIR__ . '/inc/elementor-class.php' ); $widgets_manager->register( new \Elementor_Twenty20_Widget() ); } add_action( 'elementor/widgets/register', 'register_hello_world_widget' );
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.4 |
proxy
|
phpinfo
|
Settings