How can I put a wp_redirect into a shortcode?
I have a typical shortcode which prints some html on a page. The shortcode will only be used on pages where visitors are logged in. As a separate operation, I’ve been using a custom field to trigger an action which performs that test and then does the redirect. But I was wondering if it was … Read more