Shortcode not interpreted if parameter set

Not enough code in the question to pinpoint the problem, but I would call what you are trying to do “shady”. Usage of do_shortcode should be confined to extreme cases when it is impossible, or extremely hard, to do anything else, as using it is the less evil equivalent of using eval. What you should … Read more

Do not parse shortcode in CPT

I believe you need something like this- add_filter( ‘the_content’, ‘wpse_303180_remove_shortcode’ ); function wpse_303180_remove_shortcode( $content ) { global $post; if( get_post_type( $post ) == ‘my-cpt’ ) { remove_shortcode( ‘my-custom-shortcode’ ); // remove_all_shortcodes(); // to remove all shortcodes } return $content; }

Send Mail with link to current_user

Gravity Forms will be your solution, but you will have to do some custom notifications. You will also need User Registration Add-On the https://www.gravityforms.com/add-ons/user-registration/ What you will need to do is: Create a hidden field called for example “current user email” and allow it to be populated automatically. Create a user registration feed and select … Read more