Changeset 52357 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 12/12/2021 02:51:34 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r52332 r52357 1143 1143 * @since 2.3.0 1144 1144 * 1145 * @param int $term_id ID of Term to get children.1146 * @param string $taxonomy Taxonomy Name.1145 * @param int $term_id ID of term to get children. 1146 * @param string $taxonomy Taxonomy name. 1147 1147 * @return array|WP_Error List of Term IDs. WP_Error returned if `$taxonomy` does not exist. 1148 1148 */ … … 1187 1187 * @param string $field Term field to fetch. 1188 1188 * @param int|WP_Term $term Term ID or object. 1189 * @param string $taxonomy Optional. Taxonomy Name. Default empty.1189 * @param string $taxonomy Optional. Taxonomy name. Default empty. 1190 1190 * @param string $context Optional. How to sanitize term fields. Look at sanitize_term_field() for available options. 1191 1191 * Default 'display'. … … 1687 1687 * @param string $value Search for this term value. 1688 1688 * @param int $term_id Term ID. 1689 * @param string $taxonomy Taxonomy Name.1689 * @param string $taxonomy Taxonomy name. 1690 1690 * @param string $context Context in which to sanitize the term field. 1691 1691 * Accepts 'raw', 'edit', 'db', 'display', 'rss', … … 1910 1910 * @since 2.3.0 1911 1911 * 1912 * @param int $object_id The term Object Idthat refers to the term.1913 * @param string|array $taxonomies List of Taxonomy Names or single Taxonomy name.1912 * @param int $object_id The term object ID that refers to the term. 1913 * @param string|array $taxonomies List of taxonomy names or single taxonomy name. 1914 1914 */ 1915 1915 function wp_delete_object_term_relationships( $object_id, $taxonomies ) { … … 1940 1940 * 1941 1941 * @param int $term Term ID. 1942 * @param string $taxonomy Taxonomy Name.1942 * @param string $taxonomy Taxonomy name. 1943 1943 * @param array|string $args { 1944 1944 * Optional. Array of arguments to override the default term ID. Default empty array. … … 2006 2006 * 2007 2007 * @param int $term Term ID. 2008 * @param string $taxonomy Taxonomy Name.2008 * @param string $taxonomy Taxonomy name. 2009 2009 */ 2010 2010 do_action( 'pre_delete_term', $term, $taxonomy );
Note: See TracChangeset
for help on using the changeset viewer.