-2
我試圖給email-footer.php添加取消訂閱鏈接,但無法收到收件人的電子郵件。我的代碼沒有工作,但也許可以幫助理解我需要什麼:取消訂閱鏈接woocommerce email-footer.php
<?php
$recipient = get_recipient()
?>
<a href="http://mypage.com/unsubscribe?email=<php echo $recipient;?">Unsubcribe me</a>
我嘗試了一些過濾器和掛鉤,但我在這個問題上迷失。 enybody能推動我嗎?
什麼返回get_recipient()是? –