# elementor/3.22.0-beta1/modules/conversion-center/admin-menu-items/links-menu-item.php

Elementor Website Builder – more than just a page builder, version 3.22.0-beta1. 40 lines.

- Page: https://pluginprobe.com/plugins/elementor/3.22.0-beta1/code/modules/conversion-center/admin-menu-items/links-menu-item.php
- Raw: https://pluginprobe.com/plugins/elementor/3.22.0-beta1/raw/modules/conversion-center/admin-menu-items/links-menu-item.php
- Modified: 2024-05-19T10:31:44+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elementor/3.22.0-beta1/code/modules/conversion-center/admin-menu-items/links-menu-item.php#L10-L20`.

```php
<?php
namespace Elementor\Modules\ConversionCenter\AdminMenuItems;

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

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

class Links_Menu_Item implements Admin_Menu_Item {

	private $parent_slug;

	public function __construct( $parent_slug ) {
		$this->parent_slug = $parent_slug;
	}

	public function is_visible() {
		return true;
	}

	public function get_parent_slug() {
		return $this->parent_slug;
	}

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

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

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

```
