File "landing-pages-menu-item.php"

Full Path: /home/warrior1/public_html/languages/wp-content/plugins/elementor/modules/landing-pages/admin-menu-items/landing-pages-menu-item.php
File size: 680 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
namespace Elementor\Modules\LandingPages\AdminMenuItems;

use Elementor\Core\Admin\Menu\Interfaces\Admin_Menu_Item;
use Elementor\TemplateLibrary\Source_Local;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

class Landing_Pages_Menu_Item implements Admin_Menu_Item {

	public function is_visible() {
		return true;
	}

	public function get_parent_slug() {
		return Source_Local::ADMIN_MENU_SLUG;
	}

	public function get_label() {
		return esc_html__( 'Landing Pages', 'elementor' );
	}

	public function get_page_title() {
		return esc_html__( 'Landing Pages', 'elementor' );
	}

	public function get_capability() {
		return 'manage_options';
	}
}