Filters

plugin-options/bh-onboarding-options.php

Copied!
Copy

This filter allow to manage the PayPal Payments subtabs


Return array

includes/yith-paypal-functions.php

Copied!
Copy


Return string

Copied!
Copy

Filters to get a formatted order item description from the given order item

Params
   WC_Order_Item  $order_item  Order item.

Return string

includes/class-yith-paypal-webhook.php

Copied!
Copy


Return string

Copied!
Copy

Filters the order status after voiding the authorization

Params
 WC_Order $order Order.
 array    $resource Webhook request.

Return string

Copied!
Copy


Return string

includes/class-yith-paypal-scripts.php

Copied!
Copy

Filter if load scripts on frontend


Return boolean

includes/class-yith-paypal-frontend.php

Copied!
Copy

Filter the output message inside the thank you page

Params
 string $message Message.
 int $order_id Order ID.

Return array

includes/requests/class-yith-paypal-request-transaction.php

Copied!
Copy

Params
   string  $context  Cart or order context.

Return bool

includes/order/class-yith-paypal-order-helper.php

Copied!
Copy

Filter a new order type which will provide information about partial payments made for a particular order


Return array

includes/gateways/class-yith-paypal-gateway.php

Copied!
Copy


Return array

includes/gateways/class-yith-paypal-custom-card-gateway.php

Copied!
Copy

Filters the list of credit cards for US


Return array

Copied!
Copy

Filters the list of default credit cards


Return array

Copied!
Copy

Filters the images of allowed credit cards

Params
 string $name Slug of credit card.
 string $card_name Name of credit card.
 array $allowd List of allowed credit cards.

Return string

Actions

includes/order/class-yith-paypal-order-partial-data-store-cpt.php

Copied!
Copy

Triggered after the partial order is deleted

Params
   int    $id  Partial order deleted id.

Copied!
Copy

Runs when the PayPal Payments order partial object props are updated

Params
   WC_Order $partial Partial order.
   array $updated_props An array of props being updated.

includes/order/class-yith-paypal-order-helper.php

Copied!
Copy

This action is triggered after the 'shop_order_partial' order type has been created


Copied!
Copy

Triggered before the partial order is created

Params
   WC_Order  $partial  Current partial order.
   array     $args     Arguments.

Copied!
Copy

Triggered after the partial order is created

Params
   int    $partial_id  Partial order created id
   array  $args        Arguments.