Update elementor pro
This commit is contained in:
@@ -22,19 +22,19 @@ abstract class Base_Promotion_Template implements Admin_Menu_Item_With_Page {
|
||||
|
||||
abstract protected function get_video_url():string;
|
||||
|
||||
public function is_visible() {
|
||||
public function is_visible(): bool {
|
||||
return true;
|
||||
}
|
||||
|
||||
public function get_parent_slug() {
|
||||
public function get_parent_slug(): string {
|
||||
return Settings::PAGE_ID;
|
||||
}
|
||||
|
||||
public function get_capability() {
|
||||
public function get_capability(): string {
|
||||
return 'manage_options';
|
||||
}
|
||||
|
||||
protected function get_cta_text() {
|
||||
protected function get_cta_text(): string {
|
||||
return esc_html__( 'Upgrade Now', 'elementor-pro' );
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ abstract class Base_Promotion_Template implements Admin_Menu_Item_With_Page {
|
||||
return ob_get_clean();
|
||||
}
|
||||
|
||||
public function render() {
|
||||
public function render(): void {
|
||||
$promotion_data = $this->get_promotion_data();
|
||||
?>
|
||||
<div class="e-feature-promotion">
|
||||
|
||||
Reference in New Issue
Block a user