// Gutenberg Sidebar Support
add_action('enqueue_block_editor_assets', function () {
wp_enqueue_script(
'hca-block-editor-js',
plugin_dir_url(__FILE__) . '../assets/js/block-editor.js',
array('wp-plugins', 'wp-edit-post', 'wp-components', 'wp-element', 'wp-data'),
null,
true
);
});
Hot – Ideas24
Notifications