first commit

This commit is contained in:
2024-07-31 13:12:38 +07:00
commit b4e8cbe182
10213 changed files with 3125839 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace Elementor\Modules\FloatingButtons\AdminMenuItems;
use Elementor\Core\Admin\Menu\Interfaces\Admin_Menu_Item_With_Page;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Floating_Buttons_Empty_View_Menu_Item extends Floating_Buttons_Menu_Item implements Admin_Menu_Item_With_Page {
private $render_callback;
public function __construct( callable $render_callback ) {
$this->render_callback = $render_callback;
}
public function render() {
( $this->render_callback )();
}
}

View File

@@ -0,0 +1,32 @@
<?php
namespace Elementor\Modules\FloatingButtons\AdminMenuItems;
use Elementor\Core\Admin\Menu\Interfaces\Admin_Menu_Item;
use Elementor\TemplateLibrary\Source_Local;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Floating_Buttons_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__( 'Floating Buttons', 'elementor' );
}
public function get_page_title() {
return esc_html__( 'Floating Buttons', 'elementor' );
}
public function get_capability() {
return 'manage_options';
}
}