Filtering of xhr object before sending the query.
Parameters
- xhr – object before sending a query
- url – link for query
- send_data – additional data to be sent, usually an empty object
- callback_func – functions that are called at different stages
- type – type (context) of loading a new page, usually default
Related functions
- braapf_pagination_prevent_filters_load – adds an additional parameter when using pagination
- braapf_additional_header – adds an additional parameter for all queries
- braapf_scroll_shop_to_top – scrolls page to products
- braapf_add_loader_element – adds a loading element that closes the page
