//logged in shortcode function check_user ($params, $content = null){ //check tha the user is logged…
Site URL Shortcode
//===================================================
//SHORTCODE: SITE URL
//===================================================
add_shortcode( 'site_url', function( $atts = null, $content = null ) {
return site_url();
} );