New shortcode for the hidding error message
-
Hi, great plugin.
I come across with problem where I use shortcode
user_verification_check
on the custom login page. I need to visitor after verification have login form.Problem was that I constantly get error message on that login page when visitor is not under verification. For that reason I create new shortcode in my theme to fix this problem:
if ( !shortcode_exists( 'user_verification_check_validate' ) ): add_shortcode('user_verification_check_validate', 'uv_filter_check_activation_validate'); if(!function_exists('uv_filter_check_activation_validate')) : function uv_filter_check_activation_validate($attr, $content = NULL) { if( isset( $_GET['activation_key'] ) || (isset( $_GET['uv_action']) && isset($_GET['id'])) ) return do_shortcode($content); } endif; endif;
Is it possible for you to made something like this or to add some attribute to your shortcode to we can hide error messages for the standard visitors?
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘New shortcode for the hidding error message’ is closed to new replies.