【要望・新規フック】usces_get_first_order_mail()

フォーラム 要望と提案 【要望・新規フック】usces_get_first_order_mail()

  • このトピックには0件の返信、1人の参加者があり、最後にnglifeにより2日、 5時間前に更新されました。
1件の投稿を表示中 - 1 - 1件目 (全1件中)
  • 投稿者
    投稿
  • #104135
    nglife
    参加者

    ——————————————-
    WordPress のバージョン:6.9.4
    Welcart のバージョン:2.11.26
    PHP のバージョン:8.2
    Welcart専用の拡張プラグインとバージョン:-
    ご利用の親テーマとバージョン :-
    ご利用の子テーマとバージョン :-
    利用している決済モジュール:-
    症状を確認したブラウザ:-
    サーバー【重要】:-
    ——————————————–

    お世話になっております。

    新規フックの設置を希望いたします。

    usc-e-shop/functions/emails.php
    usces_get_first_order_mail()

    なのですが、

    
    function usces_get_first_order_mail() {
    	global $usces;
    
    	$orders           = explode( ',', $usces->options['order_mail'] );
    	$first_order_mail = isset( $orders[0] ) ? $orders[0] : '';
    	return $first_order_mail;
    }
    

    
    function usces_get_first_order_mail() {
    	global $usces;
    
    	$orders           = explode( ',', $usces->options['order_mail'] );
    	$first_order_mail = isset( $orders[0] ) ? $orders[0] : '';
    	$first_order_mail = apply_filters( '', $first_order_mail );
    	return $first_order_mail;
    }
    

    のような形式でフィルタを設置いただけないでしょうか。
    ※「reply_to」に意図しないアドレスが入ってしまい、運用フロー上困っております

    ご対応のほど何卒よろしくお願い申し上げます。

1件の投稿を表示中 - 1 - 1件目 (全1件中)
  • このトピックに返信するにはログインが必要です。