includes/class-yith-request-quote-cart.php

ywraq_quote_button_cart_html


Params

   string  $html  Html to filter.




Return
 string


includes/class-yith-ywraq-post-types.php

ywraq_register_post_type_ywraq-pdf-template


Params

   array  $post_type_args  Attributes to filter.




Return
 array


includes/class.yith-request-quote-admin.php

ywraq_admin_tabs


Params

   array  $tabs  Tabs.




Return
 array


ywraq_register_panel_capability


Params

   string  $capability  Capability.




Return
 string


ywraq_export_columns


Params

   array  $export_columns  List of columns.




Return
 array


ywraq_export_column_value

Filter the value of the column to export


Params

   mixed  $value  Value

   WC_Order  $quote  Quote

   string  $key Current column-




Return
 mixed


includes/class.yith-request-quote-privacy.php

ywraq_privacy_export_personal_data_props


Params

   array  $data_props  List of personal data properties




Return
 array


ywraq_privacy_eraser_personal_data_props


Params

   array  $data_props  List of personal data properties.




Return
 array


includes/class.yith-request-quote.php

ywraq_force_start_session

This filter allows forcing the start of the session


Params

   boolean  $force  It true the session will be started.




Return
 boolean


ywraq_number_items_count

Filter the number of items in the list


Params

   int  $item_number  Number of item.

 array $quote_content Content of quote list.




Return
 int


ywraq_number_product_count

Filter the number of items in the list


Params

   int  $item_number  Number of item.

 array $quote_content Content of quote list.




Return
 int


ywraq_add_item


Params

   array  $raq  Quote item to add to the list.

   array  $product_raq  Product to add.




Return
 array


ywraq_quote_item_id


Params

   string  $quote_item_id  Quote item id.

   array  $product_raq  Product to add.

   int  $item_id  Item id.




Return
 string


ywraq_raq_content_before_add_item


Params

   array  $quote_content  Content of quote.

   array  $product_raq  Product to add to the quote

   array  $raq  Quote request.




Return
 array


ywraq_ajax_validate_uploaded_files

Filter the uploaded file with Product add-ons


Params

   array  $valid  Valid files.




Return
 array


yith_ywraq_ajax_add_item_json

Filter the add item json response


Params

   array  $response  Json response.




Return
 array


ywraq_ajax_add_item_is_valid

Filter if the item to add is valid


Params

   boolean  $is_valid Check if the item to add is valid.

   int  $product_id  Product id.




Return
 boolean


ywraq_ajax_add_item_prepare

Filter the post data of quote item


Params

   array  $postdata Post data

   int  $product_id  Product id.




Return
 boolean


yith_ywraq_error_adding_to_list_message

Filter the error message triggered after that a product is added to the quote


Params

   string  $message Error message.




Return
 string


ywraq_quantity_max_value


Params

   int  $max_value  Max value.

   WC_Product  $_product  Current product.




Return
 int


ywraq_quantity_min_value


Params

   int  $min_value  Max value.

   WC_Product  $_product  Current product.




Return
 int


yith_ywraq_product_not_quoted

Filter the message that says that a product is not quotable


Params

   string  $product_not_quotable  Message that says that a product is not quotable.




Return
 string


ywraq_request_page_url


Params

  string  $base_url  Base url.




Return
 string


ywraq_request_page_id

Filter the id of the request a quote page


Params

   int  $page_id  Request a quote page id.




Return
 int


ywraq_request_validate_fields

Filter the errors after that the customer sends the request


Params

   array  $errors  List of errors

   array  $post    List of posted arguments.




Return
 array


ywraq_force_create_account

Filter if is necessary to force the creation of an account


Params

   boolean  $create_account If true is necessary to create an account.




Return
 boolean


ywraq_new_user_role

Filter the role assigned when a user is added


Params

   string  $role Role.




Return
 string


ywraq_thankyou_page_url


Params

   string  $thank_you_page  Redirect page




Return
 string


ywraq_endpoint


Params

   string  $endpoint  Endpoint




Return
 string


includes/functions.yith-request-quote.php

yith_ywraq_before_print_button

Filter status that are shown inside the list


Params

   bool  $hide_button  It true hide the quote button.




Return
 bool


ywraq_add_to_quote_args

Filter arguments to pass to the template


Params

   array  $args  List of arguments to pass to the template




Return
 array


yith_ywraq_render_button_check_loop

Filter the possibility to show or hide the button on loop


Params

   bool  $render_button  If true show buttons on loop.

   int   $product_id     Product id.




Return
 bool


yith_ywraq_product_added_to_list_message

Filter the message displayed when the product is added to the list


Params

 string $message  Message.




Return
 string


ywraq_product_added_view_browse_list


Params

 string $message  Message.




Return
 string


ywraq_product_add_to_quote

Filter the label of button


Params

 string $label  Label of button.




Return
 string


yith_ywraq_product_already_in_list_message

Filter the message which says that the product is already on list


Params

 string $message  Message.




Return
 string


ywraq_accept_link_label


Params

 string $label  Label.




Return
 string


ywraq_reject_link_label

Filter the label of button to reject the quote


Params

 string $label  Label.




Return
 string


ywraq_get_label

Filter the label requested


Params

 string $label  Label.

 string $key  Type of label requested.




Return
 string


ywraq_request_list_status_filter

Filter status that are shown inside the list


Params

   array  $status_list  List of status.




Return
 array


ywraq_meta_data_carret

Filter the char to use to move the text in a new line


Params

   string  $char  Char.




Return
 string


ywraq_item_data

Filter the item data


Params

   array  $item_data  Item data.




Return
 array


yith_ywraq_add_message

Filter the content of the notice message


Params

 string $message  Message.




Return
 string


yith_ywraq_add_{$notice_type}

Filter the content of the $notice_type message


Params

 string $message  Message.




Return
 string


ywraq_notices

Filter the content of the notice messages


Params

 array $all_notices  All notices list.




Return
 array


yith_ywraq_notice_types

Filter the list of notice types


Params

 array $notice_types  All notice types list.




Return
 array


ywraq_quote_number

Filter the quote number


Params

 string $quote_number  Quote number.




Return
 string


ywraq_quote_number_after_request_quote_sending


Params

 string $quote_number_link  Url of quote.

 WC_Order $quote  Quote object.




Return
 string


ywraq_simple_thank_you_message

Filter the thank-you message


Params

 string $message  Message of thank you page.

 WC_Order $quote  Quote object.

 string $quote_number_link  Url of quote.




Return
 string


ywraq_get_list_empty_message_text

Filter the message when the list is empty


Params

 string $message  Message of empty list.




Return
 string


yith_ywraq_return_to_shop_after_sent_the_request_label

Filter the label of button to return to the shop page after that the quote is sent


Params

 string $label  Label.




Return
 string


yith_ywraq_return_to_shop_label

Filter the label of button to return to the shop page


Params

 string $label  Label.




Return
 string


ywraq_get_list_empty_message

Filter the message when the list is empty


Params

 string $empty_list_message  Empty list message.




Return
 string


ywraq_date_local_formats


Params

   array  $local_formats  Local format.




Return
 array


ywraq_check_recaptcha

Filter if is possible to use the recaptcha


Params

  bool  $is_captcha If true the recaptcha can be used.




Return
 bool


ywraq_valid_order_statuses_for_order_again

Set the valid order status for which to show the Request Quote Again button


Params

   array  $quote_status  List of status.




Return
 array


ywraq_quote_again_button_label

Change the label of the Request Quote Again button


Params

   string  $quote_status  List of status.




Return
 string