| 1 |
<?php |
| 2 |
/** |
| 3 |
* Spacings Extension. |
| 4 |
* |
| 5 |
* @package ghostkit |
| 6 |
*/ |
| 7 |
|
| 8 |
if ( ! defined( 'ABSPATH' ) ) { |
| 9 |
exit; |
| 10 |
} |
| 11 |
|
| 12 |
/** |
| 13 |
* Class GhostKit_Extension_Spacings |
| 14 |
*/ |
| 15 |
class GhostKit_Extension_Spacings { |
| 16 |
/** |
| 17 |
* GhostKit_Extension_Spacings constructor. |
| 18 |
*/ |
| 19 |
public function __construct() { |
| 20 |
GhostKit_Extensions::register( |
| 21 |
'spacings', |
| 22 |
array( |
| 23 |
'default_supports' => array( |
| 24 |
'spacings' => array( |
| 25 |
'padding' => true, |
| 26 |
'margin' => true, |
| 27 |
), |
| 28 |
), |
| 29 |
) |
| 30 |
); |
| 31 |
} |
| 32 |
} |
| 33 |
|
| 34 |
new GhostKit_Extension_Spacings(); |
| 35 |
|