PluginProbe
Block Animations, Motion & Scroll Effects – Ghost Kit / 3.4.1
Block Animations, Motion & Scroll Effects – Ghost Kit v3.4.1
3.7.2 3.7.1 3.7.0 3.6.1 trunk 1.6.3 2.25.0 3.3.0 3.3.1 3.3.2 3.3.3 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.5.0 3.5.1 3.6.0
ghostkit / classes / 3rd / class-astra.php

class-astra.php in Block Animations, Motion & Scroll Effects – Ghost Kit 3.4.1, at classes/3rd/class-astra.php

31 lines 459 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Astra theme.
4 *
5 * @package ghostkit
6 */
7
8 /**
9 * GhostKit_3rd_Astra
10 */
11 class GhostKit_3rd_Astra {
12 /**
13 * GhostKit_3rd_Astra constructor.
14 */
15 public function __construct() {
16 if ( 'astra' !== get_template() ) {
17 return;
18 }
19
20 add_filter( 'gkt_custom_css_allow_js_fallback', '__return_false' );
21 add_filter(
22 'gkt_parse_blocks_methods',
23 function() {
24 return array( 'modern', 'classic' );
25 }
26 );
27 }
28 }
29
30 new GhostKit_3rd_Astra();
31