woocommerce_payment_token_object_updated_props

woocommerce_payment_token_object_updated_props

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_payment_token_object_updated_props') is found 1 times:

  • /includes/data-stores/class-wc-payment-token-data-store.php line 123
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
        if ( $token->is_default() && $token->get_user_id() > 0 ) {
            WC_Payment_Tokens::set_users_default( $token->get_user_id(), $token->get_id() );
        }
     
        do_action( 'woocommerce_payment_token_object_updated_props', $token, $updated_props );
        do_action( 'woocommerce_payment_token_updated', $token->get_id() );
    }
     
    /**
     * Remove a payment token from the database.
     *