• Skip to primary navigation
  • Skip to main content
  • Skip to footer
WooCommerce a2z

WooCommerce a2z

WooCommerce

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
  • _
  • #
  • $
  • A
  • B
  • C
  • D
  • E
  • F
  • G
  • H
  • I
  • J
  • K
  • L
  • M
  • N
  • O
  • P
  • Q
  • R
  • S
  • T
  • U
  • V
  • W
  • X
  • Y
  • Z
Home / Archives for Q

Q

WC_Query::adjust_posts_count() – This function used to be hooked to found_posts and adjust the posts count when the filtering by attribute widget was used and variable products were present. Now it isn’t hooked anymore and does nothing but return the input unchanged, since the pull request in which it was introduced has been reverted.

WC_Query::adjust_total_pages() – The ‘adjust_posts_count’ method that handles the ‘found_posts’ filter indirectly initializes the loop properties with a call to ‘wc_setup_loop’. This includes setting ‘total_pages’ to ‘$GLOBALS[’wp_query’]->max_num_pages’, which at that point has a value of zero.

WC_Query::append_product_sorting_table_join() – Join wc_product_meta_lookup to posts if not already joined.

WC_Query::get_catalog_ordering_args() – Returns an array of arguments for ordering products based on the selected values.

WC_Query::get_current_endpoint() – Get query current active query var.

WC_Query::get_current_posts() – Get the posts (or the ids of the posts) found in the current WP loop.

WC_Query::get_endpoint_title() – Get page title for an endpoint.

WC_Query::get_endpoints_mask() – Endpoint mask describing the places the endpoint should be added.

WC_Query::get_errors() – Get any errors from querystring.

WC_Query::get_layered_nav_chosen_attributes_inst() – Instance version of get_layered_nav_chosen_attributes, needed for unit tests.

WC_Query::get_layered_nav_chosen_attributes() – Get an array of attributes and terms selected with the layered nav widget.

WC_Query::get_main_meta_query() – Get the meta query which was used by the main query.

WC_Query::get_main_query() – Get the main query which product queries ran against.

WC_Query::get_main_search_query_sql() – Based on WP_Query::parse_search

WC_Query::get_main_tax_query() – Get the tax query which was used by the main query.

WC_Query::get_meta_query() – Appends meta queries to an array.

WC_Query::get_products_in_view() – Get an unpaginated list all product IDs (both filtered and unfiltered). Makes use of transients.

WC_Query::get_query_vars() – Get query vars.

WC_Query::get_tax_query() – Appends tax queries to an array.

WC_Query::handle_get_posts() – Handler for the ‘the_posts’ WP filter.

WC_Query::init_query_vars() – Init query vars by loading options.

WC_Query::is_showing_page_on_front() – Are we currently on the front page?

WC_Query::layered_nav_init() – Layered nav init.

WC_Query::layered_nav_query() – Layered Nav post filter.

WC_Query::order_by_popularity_post_clauses() – WP Core does not let us change the sort direction for individual orderby params – https://core.trac.wordpress.org/ticket/17065.

WC_Query::order_by_price_asc_post_clauses() – Handle numeric price sorting.

WC_Query::order_by_price_desc_post_clauses() – Handle numeric price sorting.

WC_Query::order_by_rating_post_clauses() – Order by rating post clauses.

WC_Query::page_on_front_is() – Is the front page a page we define?

WC_Query::parse_request() – Parse the request and look for query vars – endpoints may not be supported.

WC_Query::pre_get_posts() – Hook into pre_get_posts to do the main product query.

WC_Query::price_filter_post_clauses() – Custom query used to filter products by price.

WC_Query::product_query() – Query the products, applying sorting/ordering etc.

WC_Query::rating_filter_meta_query() – Return a meta query for filtering by rating.

WC_Query::remove_add_to_cart_pagination() – Remove the add-to-cart param from pagination urls.

WC_Query::remove_ordering_args() – Remove ordering queries.

WC_Query::remove_posts_where() – Remove the posts_where filter.

WC_Query::remove_product_query_filters() – Pre_get_posts above may adjust the main query to add WooCommerce logic. When this query is done, we need to ensure all custom filters are removed.

WC_Query::remove_product_query() – Remove the query.

WC_Query::search_post_excerpt() – Search post excerpt.

WC_Query::stock_status_meta_query() – Returns a meta query to handle product stock status.

WC_Query::visibility_meta_query() – Returns a meta query to handle product visibility.

WC_Query::wpseo_metadesc() – WP SEO meta description.

WC_Query::wpseo_metakey() – WP SEO meta key.

WC_Queue

WC_Queue::get_class() – Get class to instantiate

WC_Queue::instance() – Single instance of WC_Queue_Interface

WC_Queue::validate_instance() – Enforce a WC_Queue_Interface

WC_Regenerate_Images::queue_image_regeneration() – Get list of images and queue them for regeneration

WC_Shortcode_Products::get_query_args() – Get query args.

WC_Shortcode_Products::get_query_results() – Run the query and return an array of data, including queried ids and pagination information.

WC_Shortcode_Products::parse_query_args() – Parse query args.

wc_transaction_query() – Run a MySQL transaction query, if supported.

wc_webhook_execute_queue() – Process the web hooks at the end of the request.

woocommerce_add_to_cart_qty_html – filter

woocommerce_add_to_cart_quantity – filter

woocommerce_admin_survey_query – filter

woocommerce_after_cart_item_quantity_update – action

woocommerce_after_quantity_input_field – action

woocommerce_allow_send_queued_transactional_email – filter

woocommerce_analytics_categories_query_args – filter

woocommerce_analytics_categories_select_query – filter

woocommerce_analytics_coupons_query_args – filter

woocommerce_analytics_coupons_select_query – filter

woocommerce_analytics_variations_stats_query_args – filter

woocommerce_anonymize_completed_orders_query_args – filter

woocommerce_api_query_args – filter

woocommerce_before_quantity_input_field – action

woocommerce_cart_item_quantity – filter

woocommerce_cart_item_set_quantity – action

woocommerce_checkout_cart_item_quantity – filter

woocommerce_coupon_get_apply_quantity – filter

woocommerce_email_order_item_quantity – filter

woocommerce_export_get_ajax_query_args – filter

woocommerce_format_stock_quantity – filter

woocommerce_get_query_vars – filter

woocommerce_get_wp_query_args – filter

woocommerce_layered_nav_default_query_type – filter

woocommerce_order_item_quantity – filter

woocommerce_order_item_quantity_html – filter

woocommerce_order_query – filter

woocommerce_order_query_args – filter

woocommerce_product_bulk_and_quick_edit – action

woocommerce_product_export_$this_query_args – filter

woocommerce_product_object_query – filter

woocommerce_product_object_query_args – filter

woocommerce_product_query – action

woocommerce_product_query_max_rand_cache_count – filter

woocommerce_product_query_meta_query – filter

woocommerce_product_query_tax_query – filter

woocommerce_product_quick_edit_end – action

woocommerce_product_quick_edit_save – action

woocommerce_product_quick_edit_start – action

woocommerce_product_related_posts_query – filter

woocommerce_product_type_query – filter

woocommerce_products_widget_query_args – filter

woocommerce_quantity_input_args – filter

woocommerce_quantity_input_classes – filter

woocommerce_quantity_input_inputmode – filter

woocommerce_quantity_input_max – filter

woocommerce_quantity_input_min – filter

woocommerce_quantity_input_pattern – filter

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Go to Next Page »

Footer

WooCommerce a2z
WooCommerce a2z
WooCommerce
WordPress 5.7.1
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  woocommerce.wp-a2z.org
© Copyright WooCommerce a2z 2014-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites