wordpress-develop/tests/phpunit/tests/term
Adam Silverstein b97899a07f Taxonomy: add a new 'terms_pre_query' filter to short circuit WP_Term_Query 'get_terms' queries.
Add a new `terms_pre_query` filter which returns null by default. Return a non-null value to bypass WordPress's default `get_terms` queries.

Props jarocks, boonebgorges, spacedmonkey.
Fixes #41246.



git-svn-id: https://develop.svn.wordpress.org/trunk@45584 602fd350-edb4-49c9-b593-d223f7449a82
2019-07-01 20:47:21 +00:00
..
cache.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
categoryExists.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getEditTermLink.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
getTagLink.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
getTerm.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getTermBy.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getTermField.php Tests: Fix two typos introduced for a get_term_field() test in [35270]. 2018-02-03 17:10:51 +00:00
getTermLink.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
getTermParentsList.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getTerms.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
getTheTerms.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
isObjectInTerm.php Code is Poetry. 2017-11-30 23:09:33 +00:00
meta.php REST API: Move object type-specific metadata integrations from the wrapper functions to the low-level Meta API functions. 2018-12-12 03:02:00 +00:00
query.php Taxonomy: add a new 'terms_pre_query' filter to short circuit WP_Term_Query 'get_terms' queries. 2019-07-01 20:47:21 +00:00
slashes.php Code is Poetry. 2017-11-30 23:09:33 +00:00
splitSharedTerm.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
taxQuery.php Code is Poetry. 2017-11-30 23:09:33 +00:00
termExists.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
wpDeleteObjectTermRelationships.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
wpDeleteTerm.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
wpGenerateTagCloud.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
wpGetObjectTerms.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
wpInsertTerm.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
wpRemoveObjectTerms.php Bust object term cache in wp_remove_object_terms(). 2015-10-19 01:52:22 +00:00
wpSetObjectTerms.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
wpTaxonomy.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
wpTerm.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
wpUniqueTermSlug.php Code is Poetry. 2017-11-30 23:09:33 +00:00
wpUpdateTerm.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00