Skip to content

Snippet: Custom Social Share Email Settings

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

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