This commit is contained in:
Alexander Agnarson 2021-07-03 12:45:54 +02:00
parent f03228a6b4
commit f73363cee2
14 changed files with 59 additions and 33 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' ) );
}
}