templates/shortcode/ywbc-search-products.php
Filter the name of the buttons of the shortcode table to be translated
Params
$barcode_action Default actions.
templates/shortcode/ywbc-complete-orders.php
Filter the columns header labels in the complete orders table
templates/admin/apply-barcodes.php
Filter the default query args when retrieving products in the apply-barcodes view
Params
array $post_type, $post_status, $posts_per_page, $fields, $meta_query.
Filter the default post_types in the apply-barcodes view
Params
array $post_types ('product', 'product_variation') by default.
plugin-options/settings/print-options.php
Filter the default plugin tools options
includes/class-ywbc-plugin-fw-loader.php
Filter the default capabilities to be the plugin options
includes/class-yith-ywbc-shortcodes.php
Filter the condition to update or not the order status using the shortcode buttons
Paramsbool true to update the order status, false to not
int $id the order ID.
Filter the stock number when using the buttons in the shortcode
Params$value Default value of stock changer.
$status Default status behavior of the stock changer ('increase-stock' by default).
Filter the object when changing the status in the barcode shortcode
Params
$object Default object.
Filter the templace when changing the status in the barcode shortcode
Params
$template Default template.
Filter the condition to get or not the template after the barcode status update
Paramsbool true to update the order status, false to not
int $id the order ID.
Filter the items when searching with ajax in the barcode shortcode
Params
$items $this->barcode_action_search.
Filter the template when searching with ajax in the barcode shortcode
Params
$template Default template.
Filter the condition to redirect before loading when searching in the barcode shortcode
Filter the decrease stock behavior when using the barcode shortcode
Filter the increase stock behavior when using the barcode shortcode
Filter the default actions in the order shortcode
Params
$actions Default actions.
Filter the Order barcode label in the order shortcode
Filter the Product barcode label in the order shortcode
Filter the search action in the shortcodes
Paramsarray $args Default plugin args.
string $text Default text.
string $type 'shop_order' by default.
includes/class-yith-ywbc-frontend.php
Filter the condition create or not the order barcode on new order
Params
$order_id ID of the order.
Filter the value of the barcode image when creating the order barcode
Params$the_value Formatted value.
$order_id ID of the order.
$protocol Current protocol.
$value Current value.
Filter the enqueue of the frontend script
Filter the default loading gif in the frontend
Filter the conmdition to show the barcode in the view order page or not
Params$bool false by default.
$order Order object.
Filter the condition to use or not the original product barcode in the single product page
includes/class-yith-ywbc-backend.php
Filter the condition to modify the roles ables of create the barcodes
Filter the condition to modify the roles ables of create the barcodes
Filter the default path to the loading gif
Filter the condition create or not the order barcode on new order
Params
$order_id ID of the order.
Filter the value of the barcode image when creating the order barcode
Params$the_value Formatted value.
$order_id ID of the order.
$protocol Current protocol.
$value Current value.
Filter the default product types allowed to create barcodes on
Paramsarray 'products' by defaul (simple products).
$post Post object.
Filter the protocol when creating the products barcodes
Params$protocol Current protocol.
$the_value Current value.
Filter the value when creating the products barcodes
Params$the_value Default the_value.
$product_id ID of the product.
$protocol Current protocol.
$value Current value.
Filter the condition to show or hide the barcode section in the edit product page
Filter the condition to skip the check in the barcode generation
Filter the query when creating the document to be printed
Params
array $post_type, $post_status, $post_per_page, $fields, $meta_query.
Filter the post types on the query when creating the document to be printed
Params
array $post_types Default post types to be retrieved.
Filter the mpdf arguments when creating the document to be printed
Params
array $autoScriptToLang, $autoLangToFont.
Filter the HTML before rendering the barcode to be printed
Params
$html Default HTML.
Filter the file name of the pdf that's gonna be printed
Params
$pdf_filename Default file name.
Filter the path of the pdf that's gonna be printed
Filter the query when creating the document to be printed
Params
array $post_type, $post_status, $post_per_page, $fields, $meta_query.
Filter the post types on the query when creating the document to be printed
Params
array $post_types Default post types to be retrieved.
Filter the mpdf arguments when creating the document to be printed
Params
array $autoScriptToLang, $autoLangToFont.
Filter the HTML before rendering the barcode to be printed
Params
$html Default HTML.
Filter the file name of the pdf that's gonna be printed
Params
$pdf_filename Default file name.
Filter the path of the pdf that's gonna be printed
includes/class-yith-woocommerce-barcodes.php
Filter the condition to force the sequential order number
Filter the value of the barcode image when creating the order barcode
Params$the_value Formatted value.
$order_id ID of the order.
$protocol Current protocol.
$value Current value.
Filter the file name of the image from the server
Params$image_name Formatted image name (.png by default).
$obj_id ID of current obj.
$protocol Current protocol.
$value Current value.
Filter the protocol when creating the products barcodes
Params$protocol Current protocol.
$the_value Current value.
Filter the value when creating the products barcodes
Params$the_value Default the_value.
$product_id ID of the product.
$protocol Current protocol.
$value Current value.
Filter the sources of the barcode when rendering it
Params$barcode_filename Image path.
$barcode_display_value Display value.
$barcode_protocol Protocol.
$context Context of the rendering.
Filter the HTML of the entire barcode tag before printing it
Params$barcode_html Formatted barcode html.
$barcode Barcode obj.
$barcode_value Barcode value.
$barcode_src All the sources of the barcode.
Filter the HTML of the entire barcode before printing it
Params$src Formatted barcode html.
$barcode_src Formatted barcode html.
$barcode_value Barcode value.
$barcode Barcode obj.
$show_value Whether to show barcode value or not.
$layout Optional layout for the barcode.
Filter the condition to show the value of the barcode when displaying it
Params
$obj Formatted barcode html.
includes/class-yith-barcode.php
Filter the function that displays the value of the barcode
Params$display_value Current value.
$this 'YITH_Barcode' class.
Filter the formatted value of the ean13 protocol
Filter the coindition to avoid the conversion from EAN to UPC protocol
Filter the formatted value of the upc protocol
Params$formatted_value Formatted value.
$value Value.
Filter the coindition to avoid the conversion from EAN to UPC protocol
Filter the formatted value of the display in the upc protocol
Paramsbool $check Check function retrieves true on sucess.
array $formatted_value Formatted value.
Filter the formatted value when creating the image of the QR code
Params$formatted_value Formatted value.
$protocol Current protocol to create the image.
$value Current value to create the image.
Filter the name of the image of the QR code
Params
$image_filename Name of the image file.