(float) get_bloginfo('version'), 'rest_rootURL' => get_rest_url(), )); wp_enqueue_style( 'essential-blocks-editor-css', ADVANCEDHEADING_BLOCK_ADMIN_URL . '/dist/controls.css', array(), $controls_dependencies['version'], 'all' ); } } public static function get_block_register_path($blockname, $blockPath) { if ( (float) get_bloginfo('version') <= 5.6) { return $blockname; } else { return $blockPath; } } } Advanced_Heading_Helper::register();