default-design
5 months ago
popup
5 months ago
slidein
3 years ago
sshare
5 months ago
class-hustle-meta-base-content.php
3 years ago
class-hustle-meta-base-design.php
3 years ago
class-hustle-meta-base-display.php
6 years ago
class-hustle-meta-base-emails.php
3 months ago
class-hustle-meta-base-integrations.php
3 years ago
class-hustle-meta-base-settings.php
3 years ago
class-hustle-meta-base-visibility.php
5 months ago
class-hustle-meta-base-display.php
33 lines
| 1 | <?php |
| 2 | /** |
| 3 | * File for Hustle_Meta_Base_Display class. |
| 4 | * |
| 5 | * @package Hustle |
| 6 | * @since 4.2.0 |
| 7 | */ |
| 8 | |
| 9 | /** |
| 10 | * Hustle_Meta_Base_Display is the base class for the "display" meta of modules. |
| 11 | * This class should handle what's related to the "display" meta. |
| 12 | * Only used by Embeddeds and Slide-ins. |
| 13 | * |
| 14 | * @since 4.2.0 |
| 15 | */ |
| 16 | class Hustle_Meta_Base_Display extends Hustle_Meta { |
| 17 | |
| 18 | /** |
| 19 | * Get the defaults for this meta. |
| 20 | * |
| 21 | * @since 4.2.0 |
| 22 | * @return array |
| 23 | */ |
| 24 | public function get_defaults() { |
| 25 | return array( |
| 26 | 'inline_enabled' => '0', |
| 27 | 'inline_position' => 'below', |
| 28 | 'widget_enabled' => '1', |
| 29 | 'shortcode_enabled' => '1', |
| 30 | ); |
| 31 | } |
| 32 | } |
| 33 |