WooCommerce uses Custom Post Types for its products and as such uses standard WP_Query to return results on those pages. You can probably use the pre_get_posts() to modify the query on certain pages or archives.
Related Posts:
- Uncaught Error: Call to undefined function wp_generate_attachment_metadata() @ wp-cron
- force enqueue script to be first in order of prominence
- wp_mail and BCC headers
- Using require_once in a Plugin?
- How to call “page specific menu items” in template [closed]
- Hook for image edit popup
- wp_enqueue_style in Plugin [duplicate]
- Master menu item for multiple plugins?
- How can i add a submenu to a custom menu of another plugin?
- Is there an action that is called when a post is restored from the trash?
- Looking for a WordPress plugin to show five latest tweets one at a time? [closed]
- Accessing plugin functionality within WP REST API
- Multi-Environment Set up
- Multiple navigation menus to a location?
- How to customize user search
- Upgrade Private Plugin without Deleting
- Making my plugin translation ready. Poedit not working
- get values from contact form 7 wp plugin [closed]
- Not able to open category post [closed]
- Open Post Thumbnail in New Child Theme File in WordPress
- Use wordpress functions in another PHP file
- custom user tables supported in SharDB plugin?
- Problem using Press-this book marklet
- How do you assign a UUID to posts/products/comments/reviews?
- How to make a implement queue for scheduling tasks in WordPress?
- After upgrade to php 7 plugin/them updates broke [closed]
- WordPress Integration with Google Groups
- password_reset hook is not working
- WordPress does not show products when the value of post_parent is not 0
- ACF: post query, hide duplicate values [closed]
- WordPress Jquery UI Spinner
- How to customize a plugin?
- When taxes are country specific they don’t show in the cart totals
- How to replace website?
- changes to header.php not appearing
- List out all the plugins on WordPress instance
- Proper way to use plugin functions in functions.php
- Can WordPress Drop-ins be given their own directory?
- How do I make reusable content blocks for header and footer when using WordPress headless with another front-end?
- How can I add IP address to my post?
- Remove Pagination for Product Category Pages WooCommerce
- Is there a plugin or a way in the wordpress that would let us have different versions of a post or page accessibe to users?
- How to add/change (woocommerce) product tab icon
- Get post content from outside the loop with plugin shortcode usability
- Adding option values as an array using a multi selectable select box
- How to set the default value as the saved value once a form of widget is saved?
- Custom post type change excerpt more and excerpt length
- Example for use tinymce in wordpress 3.5.1?
- Dynamic Image Replacement through call rail phone call tracking plugins in wordpress
- Advanced custom fields and Slideshow gallery desn’t work together? [closed]
- How can I show registration form inside modal?
- Replace video url with video player
- How could I fix the lowercase problem in nextgen gallery? [closed]
- Need to edit author permissions | custom taxonomy
- Custom Logo Link WordPress
- Where do I put the code snippets I found here or somewhere else on the web?
- WP Import All Multiple Dynamic Link Imports
- admin_notices show after load completed
- Error in Fetching Custom Post Type parent Category URL (slug)
- is there a way to display product gallery images via cdn
- Changing the Default New User Notification Email
- WP Fastest Cache -> Render Blocking Js -> Exclude Js Sources
- function post to trash problem
- How to call function in WordPress on button click?
- How can I see $post object in frontend from functions.php?
- WordPress site hamburger menu toggle not working
- save short-code in my custom plugin settings problem missed something
- WordPress website working fine on localhost but not displaying front pages on webhost
- Change WordPress plugin widget `id_base` without breaking widget
- Uploading website to live causing problems to plug-in and layout
- How is it possible to create Multi part sections where people can answer or comment or vote on various parts of a page’s content as given example?
- save multi-select input using update_option for plugin
- Capture Recaptcha fail event on Contact Form 7
- register_activation_hook not creating table
- How can I share my wordpress site with a friend?
- Making sure updates didn’t break anything
- wp_schedule_event function reference
- Meta box or shortcode help
- Users Ultra: Hide asterisk for required registration fields?
- Adding HTML to the search page
- Retrive images from the_content()
- How to retrieve hashtaged tweets from a list of users and post to WordPress
- Multi-step, live updating search
- Turning Existing Eccommerce Site into Multi-SIte
- wordpress select multiple options and illegal string offset ‘timeslot’ [closed]
- post_exists() returns a 0 but the 0 doesn’t register [closed]
- Display HTML5 jQuery Audio Player On Front Page
- Woocommerce add product variations block to my custom template
- Ajax button “Load more” is not loading correct language version posts for logged out users
- WordPress REST API Visual Composer Shortcodes
- Unable to pass arguments from plugin form to filter hook using ajax, the data is transferring via ajax but unable to pass as arguments in filter hooks
- How to update changes to multiple sites at the same time
- Why am I getting an error when requiring a file in my plugin?
- restore backup full content or just specific folders
- WooCommerce REST API aborts connection [closed]
- Redirect OLD/Path to NEWURL/Path
- How can I use the zip of my plugin in another website?
- Executing ACF field as a shortcode
- Create custom Header and Footer for a page that uses diffrent theme then the rest of the website
- Elementor Form : client side javascript validation