Snippet: Replace the Social Share with a Shortcode
Important: This snippet is no longer required, you can now do this in the Customizer!
/**
* Replace theme social share
*
* @see partials/social-share.php
*/
function myprefix_wpex_custom_social_share() {
return '[wp_social_sharing]';
}
add_filter( 'wpex_custom_social_share', 'myprefix_wpex_custom_social_share' );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend WPCode)