View Product Page

Actions

functions.php

Copied!
Copy

Adds an action when initializing the plugin


includes/class-yith-ywbc-shortcodes.php

Copied!
Copy

Adds an action when setting the barcode status for the order

 Params  $id              $_POST['id'].  $status          $_POST['status'].  $type            $_POST['type'].  $barcode_actions $_POST['barcode-actions']. 

Copied!
Copy

Adds an action when setting the barcode status for the product

 Params  $id              $_POST['id'].  $status          $_POST['status'].  $type            $_POST['type'].  $barcode_actions $_POST['barcode-actions']. 

Copied!
Copy

Adds an action before loading the template of the barcode actions

 Params  $items $this->barcode_action_search. 

includes/class-yith-ywbc-frontend.php

Copied!
Copy

Adds an action after generating the barcode image

 Params  $object_id ID of the barcode.  $protocol  Protocol.  $value     Value. 

includes/class-yith-ywbc-backend.php

Copied!
Copy

Adds an action after generating the barcode image

 Params  $object_id ID of the barcode.  $protocol  Protocol.  $value     Value. 

Copied!
Copy

Adds an action after write the HTML template PDF

 Params  $mpdf MPDF instance. 

Copied!
Copy

Adds an action after write the template PDF

 Params  $mpdf MPDF instance. 

Copied!
Copy

Adds an action after write the HTML template PDF

 Params  $mpdf MPDF instance. 

Copied!
Copy

Adds an action after write the template PDF

 Params  $mpdf MPDF instance. 

includes/class-yith-barcode.php

Copied!
Copy

Adds an action before generating the image of the qr code in creation

 Params  $qr_code Qr object.