add_action( 'wp_footer', 'redirect_cf7' ); function redirect_cf7() { ?>