• プラグイン一覧
    - WCEX Item Combo Set
    - WCEX Amazon Pay
    - WCEX Wishlist お気に入りリスト
  • リリース情報
  • お役立ちコラム
  • お問い合わせ
  • サポート
    • よくある質問
      • WCEX Amazon Pay
      • WCEX Wishlist お気に入りリスト
      • wcex-item-combo-set
    • リファレンス
      • WCEX Amazon Pay
      • WCEX Wishlist お気に入りリスト
      • wcex-item-combo-set
新規会員登録
ログイン
新規会員登録
ログイン
カート
  • プラグイン一覧
    • - WCEX Item Combo Set
    • - WCEX Amazon Pay
    • - WCEX Wishlist お気に入りリスト
  • リリース情報
  • お役立ちコラム
  • サポート
    • - よくある質問
      • - WCEX Amazon Pay
      • - WCEX Wishlist お気に入りリスト
      • - wcex-item-combo-set
    • - リファレンス
      • - WCEX Amazon Pay
      • - WCEX Wishlist お気に入りリスト
      • - wcex-item-combo-set
  • お問い合わせ
Aivec APPs > WCEX Amazon Pay > クラス > Hooks
レファレンス
バージョン
2.6.4
絞り込み:

目次

  • ソース
  • 関数

フック

  • アクション
  • フィルター

ファンクション

    クラス

    Hooks

    Collection of deprecated actions and filters

    ソース #ソース

    ファイル: src/Hooks.php

    final class Hooks
    {
        /**
         * Wraps all deprecated hooks with new hooks
         *
         * @author Evan D Shaw <evandanielshaw@gmail.com>
         * @return void
         */
        public function init() {
            // actions
            add_action('wcexaap_quickpay_custom_assets', function () {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_quickpay_custom_assets'} instead.
                 */
                do_action_deprecated('app_quickpay_custom_assets', [], '2.0.0', 'wcexaap_quickpay_custom_assets');
            });
            add_action('wcexaap_checkout_review_template', function () {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_checkout_review_template'} instead.
                 */
                do_action_deprecated('aap_quickpay_confirm_container', [], '2.0.0', 'wcexaap_checkout_review_template');
            });
    
            // filters
            add_filter('wcexaap_custom_fields_select_default_value', function ($value, $selects, $ident, $key, $entry) {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_custom_fields_select_default_value'} instead.
                 * @param string $value
                 * @param array  $selects
                 * @param string $ident
                 * @param string $key
                 * @param array  $entry
                 */
                return apply_filters_deprecated(
                    'aap_custom_fields_select_default_value',
                    [$value, $selects, $ident, $key, $entry],
                    '2.0.0',
                    'wcexaap_custom_fields_select_default_value'
                );
            }, 10, 5);
            add_filter('wcexaap_custom_fields_text_default_value', function ($value, $selects, $ident, $key, $entry) {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_custom_fields_text_default_value'} instead.
                 * @param string $value
                 * @param array  $selects
                 * @param string $ident
                 * @param string $key
                 * @param array  $entry
                 */
                return apply_filters_deprecated(
                    'aap_custom_fields_text_default_value',
                    [$value, $selects, $ident, $key, $entry],
                    '2.0.0',
                    'wcexaap_custom_fields_text_default_value'
                );
            }, 10, 5);
            add_filter('wcexaap_custom_fields_radio_default_value', function ($value, $selects, $ident, $key, $entry) {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_custom_fields_radio_default_value'} instead.
                 * @param string $value
                 * @param array  $selects
                 * @param string $ident
                 * @param string $key
                 * @param array  $entry
                 */
                return apply_filters_deprecated(
                    'aap_custom_fields_radio_default_value',
                    [$value, $selects, $ident, $key, $entry],
                    '2.0.0',
                    'wcexaap_custom_fields_radio_default_value'
                );
            }, 10, 5);
            add_filter('wcexaap_custom_fields_checkbox_default_value', function ($value, $selects, $ident, $key, $entry) {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_custom_fields_checkbox_default_value'} instead.
                 * @param string $value
                 * @param array  $selects
                 * @param string $ident
                 * @param string $key
                 * @param array  $entry
                 */
                return apply_filters_deprecated(
                    'aap_custom_fields_checkbox_default_value',
                    [$value, $selects, $ident, $key, $entry],
                    '2.0.0',
                    'wcexaap_custom_fields_checkbox_default_value'
                );
            }, 10, 5);
            add_filter('wcexaap_filter_custom_customer_component_container', function ($html) {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_filter_custom_customer_component_container'} instead.
                 * @param string $value
                 * @param array  $selects
                 * @param string $ident
                 * @param string $key
                 * @param array  $entry
                 */
                return apply_filters_deprecated(
                    'aap_filter_custom_customer_component_container',
                    [$html],
                    '2.0.0',
                    'wcexaap_filter_custom_customer_component_container'
                );
            }, 10, 1);
            add_filter('wcexaap_filter_custom_member_component_container', function ($html) {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_filter_custom_member_component_container'} instead.
                 * @param string $html
                 */
                return apply_filters_deprecated(
                    'aap_filter_custom_member_component_container',
                    [$html],
                    '2.0.0',
                    'wcexaap_filter_custom_member_component_container'
                );
            }, 10, 1);
            add_filter('wcexaap_filter_custom_field_input', function ($html, $data, $custom_field, $position) {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_filter_custom_field_input'} instead.
                 * @param string $html
                 * @param array  $data
                 * @param string $custom_field
                 * @param string $position
                 */
                return apply_filters_deprecated(
                    'aap_filter_custom_field_input',
                    [$html, $data, $custom_field, $position],
                    '2.0.0',
                    'wcexaap_filter_custom_field_input'
                );
            }, 10, 4);
            add_filter('wcexaap_filter_agree_field', function ($html, $agree_member) {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_filter_agree_field'} instead.
                 * @param string $html
                 * @param bool   $agree_member
                 */
                return apply_filters_deprecated(
                    'aap_filter_agree_field',
                    [$html, $agree_member],
                    '2.0.0',
                    'wcexaap_filter_agree_field'
                );
            }, 10, 2);
            add_filter('wcexaap_filter_cart_page_next_buttons', function (
                $html,
                $cartbutton,
                $quickpaybutton,
                $checkout_title,
                $checkout_message,
                $checkout_submessage,
                $qp_message,
                $qp_title,
                $clearfixline
            ) {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_filter_cart_page_next_buttons'} instead.
                 * @param string $html
                 * @param string $cartbutton
                 * @param string $quickpaybutton
                 * @param string $checkout_title
                 * @param string $checkout_message
                 * @param string $checkout_submessage
                 * @param string $qp_message
                 * @param string $qp_title
                 * @param string $clearfixline
                 */
                return apply_filters_deprecated(
                    'aap_filter_cart_page_next_buttons',
                    [
                        $html,
                        $cartbutton,
                        $quickpaybutton,
                        $checkout_title,
                        $checkout_message,
                        $checkout_submessage,
                        $qp_message,
                        $qp_title,
                        $clearfixline,
                    ],
                    '2.0.0',
                    'wcexaap_filter_cart_page_next_buttons'
                );
            }, 10, 9);
            add_filter('wcexaap_filter_couponform_component', function ($vuehtml, $class, $btnclass, $resetbtnclass) {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_filter_couponform_component'} instead.
                 * @param string $vuehtml
                 * @param string $class
                 */
                return apply_filters_deprecated(
                    'aap_quickpay_filter_couponform',
                    [$vuehtml, $class],
                    '2.0.0',
                    'wcexaap_filter_couponform_component'
                );
            }, 10, 4);
            add_filter('wcexaap_checkout_review_filter_delivery_form', function ($vuehtml, $instance) {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_checkout_review_filter_delivery_form'} instead.
                 * @param string $vuehtml
                 */
                return apply_filters_deprecated(
                    'aap_quickpay_filter_delivery_form',
                    [$vuehtml],
                    '2.0.0',
                    'wcexaap_checkout_review_filter_delivery_form'
                );
            }, 10, 2);
            add_filter('wcexaap_checkout_review_filter_delivery_method', function ($html, $deli_id) {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_checkout_review_filter_delivery_method'} instead.
                 * @param string $html
                 * @param int    $deli_id
                 */
                return apply_filters_deprecated(
                    'aap_quickpay_filter_delivery_method',
                    [$html, $deli_id],
                    '2.0.0',
                    'wcexaap_checkout_review_filter_delivery_method'
                );
            }, 10, 2);
            add_filter('wcexaap_checkout_review_filter_delivery_date', function ($html) {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_checkout_review_filter_delivery_date'} instead.
                 * @param string $html
                 */
                return apply_filters_deprecated(
                    'aap_quickpay_filter_delivery_date',
                    [$html],
                    '2.0.0',
                    'wcexaap_checkout_review_filter_delivery_date'
                );
            }, 10, 1);
            add_filter('wcexaap_checkout_review_filter_delivery_time', function ($html) {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_checkout_review_filter_delivery_time'} instead.
                 * @param string $html
                 */
                return apply_filters_deprecated(
                    'aap_quickpay_filter_delivery_time',
                    [$html],
                    '2.0.0',
                    'wcexaap_checkout_review_filter_delivery_time'
                );
            }, 10, 1);
            add_filter('wcexaap_checkout_review_filter_notes_form', function ($vuehtml) {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_checkout_review_filter_notes_form'} instead.
                 * @param string $vuehtml
                 */
                return apply_filters_deprecated(
                    'aap_quickpay_filter_notes_form',
                    [$vuehtml],
                    '2.0.0',
                    'wcexaap_checkout_review_filter_notes_form'
                );
            }, 10, 1);
            add_filter('wcexaap_checkout_review_filter_ordersummary_table', function ($vuehtml) {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_checkout_review_filter_ordersummary_table'} instead.
                 * @param string $vuehtml
                 */
                return apply_filters_deprecated(
                    'aap_quickpay_filter_ordersummary_table',
                    [$vuehtml],
                    '2.0.0',
                    'wcexaap_checkout_review_filter_ordersummary_table'
                );
            }, 10, 1);
            add_filter('wcexaap_filter_checkout_review_points_form_button_class', function ($btnclass) {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_filter_checkout_review_points_form_button_class'} instead.
                 * @param string $btnclass
                 */
                return apply_filters_deprecated(
                    'aap_filter_quickpay_points_form_button_class',
                    [$btnclass],
                    '2.0.0',
                    'wcexaap_filter_checkout_review_points_form_button_class'
                );
            }, 10, 1);
            add_filter('wcexaap_checkout_review_filter_points_form', function ($vuehtml, $btnclass) {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_checkout_review_filter_points_form'} instead.
                 * @param string $vuehtml
                 */
                return apply_filters_deprecated(
                    'aap_quickpay_filter_pointsform',
                    [$vuehtml],
                    '2.0.0',
                    'wcexaap_checkout_review_filter_points_form'
                );
            }, 10, 2);
            add_filter('wcexaap_checkout_review_filter_display_custom_fields_errors', function ($show) {
                /**
                 * @deprecated 2.0.0 Use {@see 'wcexaap_checkout_review_filter_display_custom_fields_errors'} instead.
                 * @param bool $show
                 */
                return apply_filters_deprecated(
                    'aap_quickpay_display_custom_fields_errors',
                    [$show],
                    '2.0.0',
                    'wcexaap_checkout_review_filter_display_custom_fields_errors'
                );
            }, 10, 1);
        }
    }
    

    ソースを伸ばす ソースを縮める


    関数 #関数

    Top ↑

    • init — Wraps all deprecated hooks with new hooks

    • 新規会員登録
    • ログイン
      • プラグイン一覧
      • 会社概要
      • リリース情報
      • よくある質問
      • お役立ちコラム
      • お問い合わせ
      • 個人情報保護方針
      • 特定商取引法に基づく表記
      • 情報セキュリティ基本方針
      • 利用規約

    アイベック合同会社は「Welcart」「Amazon Pay」の公式パートナーです。

    ※Amazon、Amazon.co.jp、Amazon Payおよびそれらのロゴは、Amazon.com,inc.またはその関連会社の商標です。

    © 2025 Aivec llc All Rights Reserved.