View Product Page

Actions

includes/class-yith-wcact-fee-product.php

Copied!
Copy

Allow to fire some action when saving meta data for the fee product

Params
 WC_Order_Item_Product $item          Order item
 string                $cart_item_key Cart item key
 array                 $values        Values

includes/class.yith-wcact-auction-admin-premium.php

Copied!
Copy

Allow to register the cron event to send the emails

Params
 int $post_id Product ID

Copied!
Copy

Allow to register the cron event to send the emails

Params
 int $post_id Product ID

Copied!
Copy

Allow to fire some action when the auction has ended and has a winner

Params
 WC_Product $product Product object
 WP_User    $user    User object
 object     $max_bid Max bid object

includes/class.yith-wcact-auction-admin.php

Copied!
Copy

Allow to fire some action after the scripts has been enqueued


includes/class.yith-wcact-auction-ajax-premium.php

Copied!
Copy

Allow to trigger some action after saving the auction product when adding a new bid

Params
 int        $userid                User ID.
 WC_Product $product               Product object.
 bool       $outbid                Whether the user has been outbid.
 bool       $bid_added             Whether the bid has been added.
 bool       $send_better_bid_email Whether to send the email stating that there is a new better bid.

Copied!
Copy

Allow to fire some action when the auction has ended and has a winner

Params
 WC_Product $product Product object
 WP_User    $user    User object
 object     $max_bid Max bid object

includes/class.yith-wcact-auction-bids.php

Copied!
Copy

Adds an action when inserting the bid data into the database

Params
 int $auction_id The auction(product) ID.
 float $bid      The bid amount to be inserted in the table.

includes/class.yith-wcact-auction-cron.php

Copied!
Copy

Allow to fire some action when the auction is about to end

Params
 int $user_id    User ID
 int $product_id Product ID

Copied!
Copy

Allow to fire some action when the auction is about to end

Params
 int $user_email User email
 int $product_id Product ID

Copied!
Copy

Allow to fire some action when the auction from the vendor has not reached the reserve price

Params
 WC_Product  $product Product object
 YITH_Vendor $vendor  Vendor object

Copied!
Copy

Allow to fire some action when the auction has not reached the reserve price

Params
 WC_Product $product Product object

Copied!
Copy

Allow to fire some action when the auction has not reached the reserve price

Params
 WC_Product $product Product object
 WP_User    $user    User object

Copied!
Copy

Allow to fire some action when the auction has been rescheduled

Params
 WC_Product $product Product object

Copied!
Copy

Allow to fire some action when the auction has been rescheduled

Params
 WC_Product $product Product object

Copied!
Copy

Allow to fire some action when the auction has ended and has a winner

Params
 WC_Product $product Product object
 WP_User    $user    User object
 object     $max_bid Max bid object

Copied!
Copy

Allow to fire some action when the auction has ended and has a winner

Params
 WC_Product $product Product object
 WP_User    $user    User object

Copied!
Copy

Allow to fire some action when the auction from the vendor has ended and has a winner

Params
 WC_Product  $product Product object
 YITH_Vendor $vendor  Vendor object
 WP_User     $user    User object

Copied!
Copy

Allow to register the cron event to reschedule non-paid auctions

Params
 WC_Product $product Product object
 WP_User    $user    User object

Copied!
Copy

Allow to send the email to users who didn't win the auction when it's finished

Params
 WC_Product $product Product object
 WP_User    $user    User object

Copied!
Copy

Allow to fire some action when the auction from the vendor has ended without any bid

Params
 WC_Product  $product Product object
 YITH_Vendor $vendor  Vendor object

Copied!
Copy

Allow to fire some action when the auction has ended without any bid

Params
 WC_Product  $product Product object

Copied!
Copy

Allow to send the the reminder email to the auction winner

Params
 WC_Product $product Product object
 WP_User    $user    User object

includes/class.yith-wcact-auction-finish-auction.php

Copied!
Copy

Allow to fire some action after creating the order for the auction winner

Params
 int        $order_id Order ID
 WC_Product $product  Product object
 WP_User    $user     User object

includes/class.yith-wcact-auction-frontend-premium.php

Copied!
Copy

Allow to fire some action after the scripts has been enqueued


Copied!
Copy

Allow to render some content after the auction data in the loop

Params
 WC_Product $product Product object

Copied!
Copy

Allow to render some content after the auction data in the loop

Params
 WC_Product $product Product object

Copied!
Copy

Allow to fire some action after the auction has been closed by 'Buy now'

Params
 WC_Product            $product Product object
 WC_Order_Item_Product $item Order item object
 WC_Order              $order Order object

Copied!
Copy

Allow to fire some action when a user follows an auction

Params
 WC_Email $email      Email object
 int      $product_id Product ID
 string   $hash       Hash

includes/class.yith-wcact-auction-notify.php

Copied!
Copy

Allow to trigger some action when the email to notify that a new bid has been placed is sent

Params
 int   $user_id    User ID
 int   $product_id Product ID
 array $args       Array of arguments

Copied!
Copy

Allow to trigger some action when the email to notify that a new bid has been placed is sent

Params
 int                   $user_id    User ID
 int                   $product_id Product ID
 WC_Order_Item_Product $order_item Irder item object
 WC_Order              $order      Order object

includes/class.yith-wcact-auction-shortcodes.php

Copied!
Copy

Allow to render some content in the pagination section for the shortcodes

Params
 int $max_pages Number of max pages

includes/compatibility/class.yith-wcact-stripe-compatibility.php

Copied!
Copy

Allow to fire some action after the Stripe payment has been registered successfully

Params
 WC_Order $order Order object

Copied!
Copy

Allow to send the plugin email for the failed payment attempts

Params
 WC_Order   $order   Order object
 WC_Product $product Product object
 array      $call    Response

Copied!
Copy

Allow to fire some action after the failed payment attempts

Params
 WC_Order   $order           Order object
 WC_Product $product         Product object
 int        $failed_attempts Failed attempts

Copied!
Copy

Allow to fire some action after the maximum Stripe payment attempt

Params
 WC_Order   $order           Order object
 WC_Product $product         Product object
 int        $payment_attempt Payment attempt

Copied!
Copy

Allow to fire some action when the auction has been rescheduled

Params
 WC_Product $product Product object

Copied!
Copy

Allow to fire some action when the auction has ended and has a winner

Params
 WC_Product $product Product object
 WP_User    $user    User object
 object     $max_bid Max bid object

Copied!
Copy

Allow to register the cron event to send the emails

Params
 int $product_id Product ID

Copied!
Copy

Allow to register the cron event to send the emails

Params
 int $product_id Product ID

includes/functions-ywcact-product.php

Copied!
Copy

Allow to fire some action when rescheduling the auction product

Params
 WC_Product $product Product object

Copied!
Copy

Allow to fire some action when rescheduling the auction product

Params
 WC_Product $product  Product object
 int        $order_id Order ID

includes/functions-ywcact.php

Copied!
Copy

Allow to render some content in the header of the unsubscribe page


Copied!
Copy

Allow to render some content in the footer of the unsubscribe page


Copied!
Copy

Allow to fire some action before saving the order created for the auction product

Params
 int   $order_id Order ID
 array $args     Array or arguments

Copied!
Copy

Allow to fire some action after saving the order created for the auction product

Params
 int   $order_id Order ID
 array $args     Array or arguments

init.php

Copied!
Copy

Allows the plugin initialization


templates/admin/product-tabs/auction-tab.php

Copied!
Copy

Allow to render some content before the tab content in the product in the backend

Params
 int $post_id Product ID

Copied!
Copy

Allow to render some content after the tab content in the product in the backend

Params
 int $post_id Product ID

templates/emails/auction-winner.php

Copied!
Copy

Allow to render some content after the email content in the email sent to the auction winner

Params
 WC_Email $email Email object

templates/emails/common/new-bid.php

Copied!
Copy

Params
 WC_Email $email Email object

templates/emails/followers/successfully-follow.php

Copied!
Copy

Params
 WC_Email $email Email object

templates/frontend/max-bidder.php

Copied!
Copy

Allow to render some content after the bid up section in the product page

Params
 string                     $bid     Bid
 WC_Product_Auction_Premium $product Auction product

Copied!
Copy

Allow to render some content after the max bidder section in the product page

Params
 WC_Product_Auction_Premium $product  Auction product
 object                     $max_bid  Max bid
 int                        $userid   User ID
 int                        $bid      Bid
 YITH_WCACT_Bids            $instance YITH_WCACT_Bids object

templates/frontend/my-account/my-account-my-auction.php

Copied!
Copy

Allow to render some content in the My Account page depending on the auction status

Params
 WC_Product $product Product

templates/frontend/my-account/my-auctions-index.php

Copied!
Copy

Allow to render some content in the My Account page depending on the auction status

Params
 WC_Product $product Product

templates/frontend/unsubscribe/ywcact-unsubscribe-auction.php

Copied!
Copy

Allow to render some content in the Unsubscribe body template

Params
 WP_Post $post Post

templates/woocommerce/single-product/add-to-cart/auction-ended.php

Copied!
Copy

Allows to render some content when the auction product has no reserve price

Params
 WC_Product_Auction_Premium $product Auction product
 int                        $max_bid Max bid

Copied!
Copy

Allows to render some content when the auction has ended

Params
 WC_Product_Auction_Premium $product Auction product
 int                        $max_bid Max bid

templates/woocommerce/single-product/add-to-cart/auction.php

Copied!
Copy

Allows to render some content before the add to cart form in the auction product

Params
 WC_Product_Auction_Premium $product Auction product

Copied!
Copy

Allows to render some content before the auction form in the product page

Params
 WC_Product_Auction_Premium $product Auction product

Copied!
Copy

Allows to render some content inside the add to cart form in the auction product

Params
 WC_Product_Auction_Premium $product Auction product

Copied!
Copy

Allows to render some content before the bid field in the auction product

Params
 WC_Product_Auction_Premium $product Auction product

Copied!
Copy

Allows to render some content before the form to place a bid

Params
 WC_Product_Auction_Premium $product Auction product
 WP_User                    $user    User object

Copied!
Copy

Allows to render some content after the form to place a bid

Params
 WC_Product_Auction_Premium $product Auction product

Copied!
Copy

Allows to render some content before the button a bid

Params
 WC_Product_Auction_Premium $product Auction product

Copied!
Copy

Allows to render some content after the button a bid

Params
 WC_Product_Auction_Premium $product_wpml Auction product

Copied!
Copy

Allows to render some content after the add to cart form

Params
 WC_Product_Auction_Premium $product Auction product

Copied!
Copy

Allows to render some content before the timeleft field in the auction that have not started yet

Params
 WC_Product_Auction_Premium $product        Auction product

Copied!
Copy

Allows to render some content before the bid field in the auction product

Params
 WC_Product_Auction_Premium $product        Auction product
 string                     $auction_status Auction status

Copied!
Copy

Allows to render some content for auctions that have not started yet

Params
 WC_Product_Auction_Premium $product_wpml Auction product

Copied!
Copy

Allows to render some content after the auction has ended

Params
 WC_Product_Auction_Premium $product Auction product