This question already has an answer here:
- Using pre_get_posts with WP_Query 2 answers
I've done a wp_query in a shortcode. So, in page
xyz I've two wp queries, one is the main query, and other's mine.
The SQL query that I got from the query doesn't fit my desired affect. So I need to filter the query clauses to inject my conditions (I think that's the only way I've now, even though it's my custom query). All the answers I've got are using
pre_get_posts with a
$this->is_main_query(), but that doesn't fit my case, I think.
How can I target that specific query using
I've seen a random number in
281f08ffcd75c8.... Is that a unique identifier so that I can specifically target my specific query?