- Timestamp:
- 07/01/2021 09:01:17 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/factory/class-wp-unittest-factory-for-term.php
r46986 r51298 83 83 * @param null $generation_definitions The default values. 84 84 * 85 * @return WP_Term|WP_Error|null WP_Term on success. WP_ error if taxonomy does not exist. Null for miscellaneous failure.85 * @return WP_Term|WP_Error|null WP_Term on success. WP_Error if taxonomy does not exist. Null for miscellaneous failure. 86 86 */ 87 87 public function create_and_get( $args = array(), $generation_definitions = null ) { … … 101 101 * @param int $term_id ID of the term to retrieve. 102 102 * 103 * @return WP_Term|WP_Error|null WP_Term on success. WP_ error if taxonomy does not exist. Null for miscellaneous failure.103 * @return WP_Term|WP_Error|null WP_Term on success. WP_Error if taxonomy does not exist. Null for miscellaneous failure. 104 104 */ 105 105 public function get_object_by_id( $term_id ) {
Note: See TracChangeset
for help on using the changeset viewer.