How to Set WooCommerce Default User Re...
Learn how to set the default user registration role in WooCommerce with this simple c...

WPCodeBox
550
Protect your email addresses from spam bots and scrapers by hiding them in your source code. Learn how to hide email addresses using a simple shortcode: [email][email protected][/email]. Prevent unwanted spam and secure your email.
<?php
// WRAP IN SHORTOCDE [email] *** [/email]
add_shortcode( 'email', function($atts, $content = null){
if ( ! is_email( $content ) ) { return $content; }
return '<a href="mailto:' . antispambot( $content ) . '">' . antispambot( $content ) . '</a>';
}
);
?>





