-
-
Save andreiglingeanu/522f47f16af8b9a3fcea76f7d0b6ca51 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action('blocksy:pro:content-blocks:pre-output', function ($id) { | |
if (has_block('eedee/block-gutenslider', $id)) { | |
if (! is_admin()) { | |
wp_enqueue_script('eedee-gutenslider-front'); | |
} | |
wp_enqueue_style('eedee-gutenslider-block'); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment