Snippets: Add/Remove Typography Options

function my_typography_settings( $settings ) {

    // Remove logo typography (not needed if using an image)
    unset( $settings['logo'] );

    // Add new typography settings for your custom element with a class of .my-element
    $settings['my_element'] = array(
        'label'     => __( 'My Element Name', 'wpex' ), // Name in the Customizer
        'target'    => '.my-element', // Element to target
        'exclude'   => array( 'font-color' ), // You can exclude specific settings here
    );

    // Return settings
    return $settings;

}
add_filter( 'wpex_typography_settings', 'my_typography_settings' );
All PHP snippets should be added via a child theme's functions.php file.