Files
carei.pagedev.pl/wp-content/plugins/elementor/modules/floating-buttons/admin-menu-items/floating-buttons-menu-item.php
Roman Pyrih 64c4a90405 first commit
2026-03-10 09:50:10 +01:00

38 lines
846 B
PHP

<?php
namespace Elementor\Modules\FloatingButtons\AdminMenuItems;
use Elementor\Core\Admin\Menu\Interfaces\Admin_Menu_Item;
use Elementor\TemplateLibrary\Source_Local;
use Elementor\Core\Admin\Menu\Interfaces\Admin_Menu_Item_Has_Position;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Floating_Buttons_Menu_Item implements Admin_Menu_Item, Admin_Menu_Item_Has_Position {
public function is_visible() {
return true;
}
public function get_parent_slug() {
return Source_Local::ADMIN_MENU_SLUG;
}
public function get_label() {
return esc_html__( 'Floating Elements', 'elementor' );
}
public function get_page_title() {
return esc_html__( 'Floating Elements', 'elementor' );
}
public function get_capability() {
return 'manage_options';
}
public function get_position() {
return 40;
}
}