File manager - Edit - /home/premiey/www/wp-includes/images/media/promotions.tar
Back
admin-menu-items/go-pro-promotion-item.php 0000666 00000001372 15165313722 0014625 0 ustar 00 <?php namespace Elementor\Modules\Promotions\AdminMenuItems; use Elementor\Core\Admin\Menu\Interfaces\Admin_Menu_Item_With_Page; use Elementor\Settings; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Go_Pro_Promotion_Item implements Admin_Menu_Item_With_Page { const URL = 'https://go.elementor.com/pro-admin-menu/'; public function is_visible() { return true; } public function get_parent_slug() { return Settings::PAGE_ID; } public function get_label() { return esc_html__( 'Upgrade', 'elementor' ); } public function get_page_title() { return ''; } public function get_capability() { return 'manage_options'; } public function render() { // Redirects from the module on `admin_init`. die; } } admin-menu-items/popups-promotion-item.php 0000666 00000001723 15165313722 0014750 0 ustar 00 <?php namespace Elementor\Modules\Promotions\AdminMenuItems; use Elementor\TemplateLibrary\Source_Local; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Popups_Promotion_Item extends Base_Promotion_Item { public function get_parent_slug() { return Source_Local::ADMIN_MENU_SLUG; } public function get_label() { return esc_html__( 'Popups', 'elementor' ); } public function get_page_title() { return esc_html__( 'Popups', 'elementor' ); } public function get_promotion_title() { return esc_html__( 'Get Popup Builder', 'elementor' ); } public function render_promotion_description() { echo esc_html__( 'The Popup Builder lets you take advantage of all the amazing features in Elementor, so you can build beautiful & highly converting popups. Get Elementor Pro and start designing your popups today.', 'elementor' ); } public function get_cta_url() { return 'https://go.elementor.com/go-pro-popup-builder/'; } } admin-menu-items/interfaces/promotion-menu-item.php 0000666 00000000732 15165313722 0016510 0 ustar 00 <?php namespace Elementor\Modules\Promotions\AdminMenuItems\Interfaces; use Elementor\Core\Admin\Menu\Interfaces\Admin_Menu_Item_With_Page; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } interface Promotion_Menu_Item extends Admin_Menu_Item_With_Page { public function get_image_url(); public function get_promotion_title(); public function render_promotion_description(); public function get_cta_text(); public function get_cta_url(); } admin-menu-items/custom-fonts-promotion-item.php 0000666 00000001447 15165313722 0016066 0 ustar 00 <?php namespace Elementor\Modules\Promotions\AdminMenuItems; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Custom_Fonts_Promotion_Item extends Base_Promotion_Item { public function get_label() { return esc_html__( 'Custom Fonts', 'elementor' ); } public function get_page_title() { return esc_html__( 'Custom Fonts', 'elementor' ); } public function get_promotion_title() { return esc_html__( 'Add Your Custom Fonts', 'elementor' ); } public function render_promotion_description() { echo esc_html__( 'Custom Fonts allows you to add your self-hosted fonts and use them on your Elementor projects to create a unique brand language.', 'elementor' ); } public function get_cta_url() { return 'https://go.elementor.com/go-pro-custom-fonts/'; } } admin-menu-items/custom-icons-promotion-item.php 0000666 00000001526 15165313722 0016046 0 ustar 00 <?php namespace Elementor\Modules\Promotions\AdminMenuItems; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Custom_Icons_Promotion_Item extends Base_Promotion_Item { public function get_label() { return esc_html__( 'Custom Icons', 'elementor' ); } public function get_page_title() { return esc_html__( 'Custom Icons', 'elementor' ); } public function get_promotion_title() { return esc_html__( 'Add Your Custom Icons', 'elementor' ); } public function render_promotion_description() { echo esc_html__( 'Don\'t rely solely on the FontAwesome icons everyone else is using! Differentiate your website and your style with custom icons you can upload from your favorite icons source.', 'elementor' ); } public function get_cta_url() { return 'https://go.elementor.com/go-pro-custom-icons/'; } } admin-menu-items/custom-code-promotion-item.php 0000666 00000001462 15165313722 0015644 0 ustar 00 <?php namespace Elementor\Modules\Promotions\AdminMenuItems; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Custom_Code_Promotion_Item extends Base_Promotion_Item { public function get_label() { return esc_html__( 'Custom Code', 'elementor' ); } public function get_page_title() { return esc_html__( 'Custom Code', 'elementor' ); } public function get_promotion_title() { return esc_html__( 'Add Your Custom Code', 'elementor' ); } public function render_promotion_description() { echo esc_html__( 'Custom Code is a tool gives you one place where you can insert scripts, rather than dealing with dozens of different plugins and deal with code.', 'elementor' ); } public function get_cta_url() { return 'https://go.elementor.com/go-pro-custom-code/'; } } admin-menu-items/base-promotion-item.php 0000666 00000002347 15165313722 0014337 0 ustar 00 <?php namespace Elementor\Modules\Promotions\AdminMenuItems; use Elementor\Modules\Promotions\AdminMenuItems\Interfaces\Promotion_Menu_Item; use Elementor\Settings; use Elementor\Utils; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } abstract class Base_Promotion_Item implements Promotion_Menu_Item { public function is_visible() { return true; } public function get_parent_slug() { return Settings::PAGE_ID; } public function get_capability() { return 'manage_options'; } public function get_cta_text() { return esc_html__( 'Upgrade Now', 'elementor' ); } public function get_image_url() { return ELEMENTOR_ASSETS_URL . 'images/go-pro-wp-dashboard.svg'; } public function render() { ?> <div class="wrap"> <div class="elementor-blank_state"> <img src="<?php echo esc_url( $this->get_image_url() ); ?>" loading="lazy" /> <h3><?php Utils::print_unescaped_internal_string( $this->get_promotion_title() ); ?></h3> <p><?php $this->render_promotion_description(); ?></p> <a class="elementor-button go-pro" href="<?php echo esc_url( $this->get_cta_url() ); ?>"> <?php Utils::print_unescaped_internal_string( $this->get_cta_text() ); ?> </a> </div> </div> <?php } } admin-menu-items/form-submissions-promotion-item.php 0000666 00000001701 15165313722 0016735 0 ustar 00 <?php namespace Elementor\Modules\Promotions\AdminMenuItems; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Form_Submissions_Promotion_Item extends Base_Promotion_Item { public function get_label() { return esc_html__( 'Submissions', 'elementor' ); } public function get_page_title() { return esc_html__( 'Submissions', 'elementor' ); } public function get_promotion_title() { return esc_html__( 'Collect Your Form Submissions', 'elementor' ); } public function render_promotion_description() { echo esc_html__( 'Save and manage all of your form submissions in one single place. All within a simple, intuitive place.', 'elementor' ); ?> <a href="https://go.elementor.com/wp-dash-submissions" target="_blank" rel="nofollow"> <?php echo esc_html__( 'Learn More', 'elementor' ); ?> </a> <?php } public function get_cta_url() { return 'https://go.elementor.com/go-pro-submissions/'; } } module.php 0000666 00000003734 15165313722 0006562 0 ustar 00 <?php namespace Elementor\Modules\Promotions; use Elementor\Core\Admin\Menu\Admin_Menu_Manager; use Elementor\Core\Base\Module as Base_Module; use Elementor\Modules\Promotions\AdminMenuItems\Custom_Code_Promotion_Item; use Elementor\Modules\Promotions\AdminMenuItems\Custom_Fonts_Promotion_Item; use Elementor\Modules\Promotions\AdminMenuItems\Custom_Icons_Promotion_Item; use Elementor\Modules\Promotions\AdminMenuItems\Form_Submissions_Promotion_Item; use Elementor\Modules\Promotions\AdminMenuItems\Go_Pro_Promotion_Item; use Elementor\Modules\Promotions\AdminMenuItems\Popups_Promotion_Item; use Elementor\Utils; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Module extends Base_Module { const ADMIN_MENU_PRIORITY = 100; public static function is_active() { return ! Utils::has_pro(); } public function get_name() { return 'promotions'; } public function __construct() { parent::__construct(); add_action( 'admin_init', function () { $this->handle_external_redirects(); } ); add_action( 'elementor/admin/menu/register', function ( Admin_Menu_Manager $admin_menu ) { $this->register_menu_items( $admin_menu ); }, static::ADMIN_MENU_PRIORITY ); } private function handle_external_redirects() { if ( empty( $_GET['page'] ) ) { return; } if ( 'go_elementor_pro' === $_GET['page'] ) { wp_redirect( Go_Pro_Promotion_Item::URL ); die; } } private function register_menu_items( Admin_Menu_Manager $admin_menu ) { $admin_menu->register( 'e-form-submissions', new Form_Submissions_Promotion_Item() ); $admin_menu->register( 'elementor_custom_fonts', new Custom_Fonts_Promotion_Item() ); $admin_menu->register( 'elementor_custom_icons', new Custom_Icons_Promotion_Item() ); $admin_menu->register( 'elementor_custom_custom_code', new Custom_Code_Promotion_Item() ); $admin_menu->register( 'go_elementor_pro', new Go_Pro_Promotion_Item() ); $admin_menu->register( 'popup_templates', new Popups_Promotion_Item() ); } }
| ver. 1.4 |
Github
|
.
| PHP 5.4.45 | Generation time: 0 |
proxy
|
phpinfo
|
Settings