| 1 |
<?php |
| 2 |
|
| 3 |
namespace Templately\Builder\Types; |
| 4 |
|
| 5 |
|
| 6 |
class Footer extends HeaderFooterBase { |
| 7 |
public static function get_type(): string { |
| 8 |
return 'footer'; |
| 9 |
} |
| 10 |
|
| 11 |
public static function get_title(): string { |
| 12 |
return __( 'Footer', 'templately' ); |
| 13 |
} |
| 14 |
|
| 15 |
public static function get_plural_title(): string { |
| 16 |
return __( 'Footers', 'templately' ); |
| 17 |
} |
| 18 |
|
| 19 |
public function get_name(): string { |
| 20 |
return 'footer'; |
| 21 |
} |
| 22 |
|
| 23 |
public static function get_properties(): array { |
| 24 |
$properties = parent::get_properties(); |
| 25 |
|
| 26 |
$properties['location'] = 'footer'; |
| 27 |
|
| 28 |
return $properties; |
| 29 |
} |
| 30 |
} |