mirror of
https://github.com/proelements/proelements.git
synced 2026-04-18 18:12:15 +00:00
v3.35.0
This commit is contained in:
@@ -9,23 +9,23 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||
}
|
||||
|
||||
class Theme_Builder_Menu_Item implements Admin_Menu_Item {
|
||||
public function get_capability() {
|
||||
public function get_capability(): string {
|
||||
return 'publish_posts';
|
||||
}
|
||||
|
||||
public function get_label() {
|
||||
public function get_label(): string {
|
||||
return esc_html__( 'Theme Builder', 'elementor-pro' );
|
||||
}
|
||||
|
||||
public function get_parent_slug() {
|
||||
public function get_parent_slug(): string {
|
||||
return Source_Local::ADMIN_MENU_SLUG;
|
||||
}
|
||||
|
||||
public function is_visible() {
|
||||
public function is_visible(): bool {
|
||||
return true;
|
||||
}
|
||||
|
||||
public function get_position() {
|
||||
return null;
|
||||
public function get_position(): ?int {
|
||||
return 20;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user