get_registered_font_families(). * @deprecated 16.3.0 Register is not supported. * * @return array Empty array. */ public function get_registered_font_families() { _deprecated_function( __METHOD__, 'Gutenberg 15.8.0' ); return array(); } /** * Gets the list of registered fonts. * * @since 6.0.0 * @deprecated 14.9.1 Use wp_fonts()->get_registered(). * @deprecated 16.3.0 Register is not supported. * * @return array Empty array. */ public function get_registered_webfonts() { _deprecated_function( __METHOD__, 'Gutenberg 14.9.1' ); return array(); } /** * Gets the list of enqueued fonts. * * @since 6.0.0 * @deprecated 14.9.1 Use wp_fonts()->get_enqueued(). * @deprecated 16.3.0 Enqueue is not supported. * * @return array Empty array. */ public function get_enqueued_webfonts() { _deprecated_function( __METHOD__, 'Gutenberg 14.9.1' ); return array(); } /** * Gets the list of all fonts. * * @since X.X.X * @deprecated GB 14.9.1 Use wp_fonts()->get_registered(). * @deprecated 16.3.0 This method is not supported. * * @return array[] */ public function get_all_webfonts() { _deprecated_function( __METHOD__, 'Gutenberg 14.9.1', 'wp_fonts()->get_registered()' ); return array(); } /** * Registers a webfont. * * @since 6.0.0 * @deprecated GB 14.9.1 Use wp_register_fonts(). * @deprecated 16.3.0 Register is not supported. * * @return bool False. */ public function register_webfont() { _deprecated_function( __METHOD__, 'GB 14.9.1', 'wp_register_fonts()' ); return false; } /** * Enqueue a font-family that has been already registered. * * @since XX.X * @deprecated 14.9.1 Use wp_enqueue_fonts(). * @deprecated 16.3.0 Register is not supported. * * @return bool False. */ public function enqueue_webfont() { _deprecated_function( __METHOD__, 'Gutenberg 14.9.1' ); return false; } } }