Add an action at the end of WP_Query::parse_tax_query() called (wait for it...) parse_tax_query which will enable developers to alter $this->tax_query->queries before SQL is generated. pre_get_posts is too early for many scenarios.

Built from https://develop.svn.wordpress.org/trunk@25311


git-svn-id: http://core.svn.wordpress.org/trunk@25273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2013-09-10 02:36:09 +00:00
parent d24a3940de
commit 7af06e7ab3

View File

@ -1887,6 +1887,8 @@ class WP_Query {
}
$this->tax_query = new WP_Tax_Query( $tax_query );
do_action( 'parse_tax_query', $this );
}
/**