//logged in shortcode function check_user ($params, $content = null){ //check tha the user is logged…
Execute Shortciode in Forminator Elements
This little snippet ties into a Forminator hook to allow the plugin to process shortcodes instead of just display them as text.
add_filter( 'forminator_replace_variables', 'do_shortcode' );