← All changes
|
modules/promotions/admin-menu-items/base-promotion-template.php
+3
-3
4.3.0
→
3.28.0-dev2
View file →
| @@ -20,17 +20,17 @@ | ||
| 20 | 20 | abstract protected function get_content_lines(): array; |
| 21 | 21 | |
| 22 | 22 | abstract protected function get_video_url(): string; |
| 23 | 23 | |
| 24 | - public function is_visible(): bool { | |
| 24 | + public function is_visible() { | |
| 25 | 25 | return true; |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | - public function get_parent_slug(): string { | |
| 28 | + public function get_parent_slug() { | |
| 29 | 29 | return Settings::PAGE_ID; |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | - public function get_capability(): string { | |
| 32 | + public function get_capability() { | |
| 33 | 33 | return 'manage_options'; |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | protected function get_cta_text() { |