skip to Main Content

Custom Social Share Email Settings

// Change default email subject
add_filter( 'wpex_social_share_data_email_subject', function ( $subject ) {
	$subject = 'My custom subject';
	return $subject;
} );

// Change default email body text
add_filter( 'wpex_social_share_data_email_body', function ( $body ) {
	$body = 'My custom email body text';
	return $body;
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top