Snippets: Modify Footer Callout Button Attributes (class, data, etc).

/**
 * Add custom classes to footer callout button.
 *
 * @return $class array
 */
add_filter( 'wpex_footer_callout_button_class', function( $class ) {
	$class[] = 'my-custom-class';
	return $class;
} );

/**
 * Modify the Footer callout button attributes.
 *
 * Important: The "wpex_footer_callout_button_attributes" filter was added in Total 5.0+
 *
 * @return $class array
 */
add_filter( 'wpex_footer_callout_button_attributes', function( $attributes ) {

	// Add data-something attribute
	$attributes[ 'data-something' ] = 'your data-something value';

	// Return attributes
	return $attributes;

} );

Snippet Type: PHP

All PHP snippets should be added via a child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)