| 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_Position |
| 14 |
*/ |
| 15 |
class GhostKit_Extension_Position { |
| 16 |
/** |
| 17 |
* GhostKit_Extension_Position constructor. |
| 18 |
*/ |
| 19 |
public function __construct() { |
| 20 |
GhostKit_Extensions::register( |
| 21 |
'position', |
| 22 |
array( |
| 23 |
'default_supports' => array( |
| 24 |
'position' => array( |
| 25 |
'position' => true, |
| 26 |
'distance' => true, |
| 27 |
'width' => true, |
| 28 |
'height' => true, |
| 29 |
'minMaxWidth' => true, |
| 30 |
'minMaxHeight' => true, |
| 31 |
'zIndex' => true, |
| 32 |
), |
| 33 |
), |
| 34 |
) |
| 35 |
); |
| 36 |
} |
| 37 |
} |
| 38 |
|
| 39 |
new GhostKit_Extension_Position(); |
| 40 |
|