WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #40387, comment 7


Ignore:
Timestamp:
04/11/2017 02:20:36 PM (3 years ago)
Author:
subrataemfluence
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40387, comment 7

    initial v1  
    11@boonebgorges Sorry, I am not very well-versed with WordPress yet (stepped into in only a few weeks ago) and wasn't aware of the above filer method you mentioned. All I am doing right now is writing my `WP_Query` in a template page and getting the request as well as the result printed on screen.
     2
     3It would greatly help if you please tell me what the above filter hook actually does and what difference it has from my template based WP_Query approach.
    24
    35Meanwhile my test with a brand new site with only Woocommerce and one additional custom post type (hand written plugin based). The result is coming along fine with the same combinations which was causing problems in my actual site.