This commit is contained in:
Alexander Agnarson 2021-07-03 13:23:02 +02:00
parent cf9998ad1b
commit 3896aa0cc0
15 changed files with 60 additions and 34 deletions

View file

@ -127,7 +127,7 @@ class Kirki_Modules_Gutenberg {
protected function add_hooks() {
if ( ! $this->is_disabled() ) {
add_action( 'after_setup_theme', array( $this, 'add_theme_support' ), 999 );
add_filter( 'block_editor_settings', array( $this, 'enqueue' ) );
add_filter( 'block_editor_settings_all', array( $this, 'enqueue' ) );
}
}