����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Elementor\Modules\History;
use Elementor\Core\Base\Module as BaseModule;
use Elementor\Plugin;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
/**
* Elementor history module.
*
* Elementor history module handler class is responsible for registering and
* managing Elementor history modules.
*
* @since 1.7.0
*/
class Module extends BaseModule {
/**
* Get module name.
*
* Retrieve the history module name.
*
* @since 1.7.0
* @access public
*
* @return string Module name.
*/
public function get_name() {
return 'history';
}
/**
* Localize settings.
*
* Add new localized settings for the history module.
*
* Fired by `elementor/editor/localize_settings` filter.
*
* @since 1.7.0
* @access public
*
* @param array $settings Localized settings.
*
* @return array Localized settings.
*/
public function localize_settings( $settings ) {
$settings = array_replace_recursive( $settings, [
'i18n' => [
'history' => __( 'History', 'elementor' ),
'template' => __( 'Template', 'elementor' ),
'added' => __( 'Added', 'elementor' ),
'removed' => __( 'Removed', 'elementor' ),
'edited' => __( 'Edited', 'elementor' ),
'moved' => __( 'Moved', 'elementor' ),
'pasted' => __( 'Pasted', 'elementor' ),
'editing_started' => __( 'Editing Started', 'elementor' ),
'style_pasted' => __( 'Style Pasted', 'elementor' ),
'style_reset' => __( 'Style Reset', 'elementor' ),
'settings_reset' => __( 'Settings Reset', 'elementor' ),
'enabled' => __( 'Enabled', 'elementor' ),
'disabled' => __( 'Disabled', 'elementor' ),
'all_content' => __( 'All Content', 'elementor' ),
'elements' => __( 'Elements', 'elementor' ),
],
] );
return $settings;
}
/**
* @since 2.3.0
* @access public
*/
public function add_templates() {
Plugin::$instance->common->add_template( __DIR__ . '/views/history-panel-template.php' );
Plugin::$instance->common->add_template( __DIR__ . '/views/revisions-panel-template.php' );
}
/**
* History module constructor.
*
* Initializing Elementor history module.
*
* @since 1.7.0
* @access public
*/
public function __construct() {
add_filter( 'elementor/editor/localize_settings', [ $this, 'localize_settings' ] );
add_action( 'elementor/editor/init', [ $this, 'add_templates' ] );
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| views | Folder | 0755 |
|
|
| module.php | File | 2.33 KB | 0644 |
|
| revisions-manager.php | File | 10.79 KB | 0644 |
|