| 1 |
<?php |
| 2 |
/** |
| 3 |
* Custom CSS Extension. |
| 4 |
* |
| 5 |
* @package ghostkit |
| 6 |
*/ |
| 7 |
|
| 8 |
if ( ! defined( 'ABSPATH' ) ) { |
| 9 |
exit; |
| 10 |
} |
| 11 |
|
| 12 |
/** |
| 13 |
* Class GhostKit_Extension_Custom_CSS |
| 14 |
*/ |
| 15 |
class GhostKit_Extension_Custom_CSS { |
| 16 |
/** |
| 17 |
* GhostKit_Extension_Custom_CSS constructor. |
| 18 |
*/ |
| 19 |
public function __construct() { |
| 20 |
GhostKit_Extensions::register( |
| 21 |
'customCSS', |
| 22 |
array( |
| 23 |
'default_supports' => array( |
| 24 |
'customCSS' => array( |
| 25 |
'opacity' => true, |
| 26 |
'overflow' => true, |
| 27 |
'cursor' => true, |
| 28 |
'userSelect' => true, |
| 29 |
'clipPath' => true, |
| 30 |
'custom' => true, |
| 31 |
|
| 32 |
// Pro. |
| 33 |
'transition' => true, |
| 34 |
), |
| 35 |
), |
| 36 |
) |
| 37 |
); |
| 38 |
} |
| 39 |
} |
| 40 |
|
| 41 |
new GhostKit_Extension_Custom_CSS(); |
| 42 |
|