More information.', 'blockbase' ), __( 'https://wordpress.com/support/custom-fonts/' ) ); } function init_deprecation_notice( $wp_customize ) { $wp_customize->add_section( $this->section_key, array( 'capability' => 'edit_theme_options', 'title' => __( 'Fonts', 'blockbase' ), ) ); $wp_customize->add_control( $this->section_key . '-v1-blockbase-font-deprecation-notice', array( 'type' => 'hidden', 'description' => '

' . $this->generate_deprecation_message() . '

', 'settings' => array(), 'section' => $this->section_key, ) ); $wp_customize->add_control( $this->section_key . '-site-editor-button', array( 'type' => 'hidden', 'description' => sprintf( 'Use Site Editor', esc_url( admin_url( 'site-editor.php?styles=open' ) ) ), 'settings' => array(), 'section' => $this->section_key, ) ); } } new GlobalStylesFontsCustomizer;