Last active
November 14, 2018 18:45
-
-
Save mharis/495eecf163d279839fdf41a05f6f3f44 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 | |
/** | |
* Enqueue Gutenberg scripts and styles to backend area. | |
*/ | |
function wds_gutenberg_assets() { | |
wp_enqueue_style( 'wds-gutenberg-admin', get_stylesheet_directory_uri() . '/gutenberg.css', array(), '1.0.0' ); | |
} | |
add_action( 'enqueue_block_assets', 'wds_gutenberg_assets' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment