Skip to content

Commit 6e7ea22

Browse files
committed
Deprecate the generate_term_ids method
1 parent 7c998eb commit 6e7ea22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

includes/Generator/Generator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ protected static function validate_batch_amount( $amount ) {
106106
* @return array
107107
*/
108108
protected static function generate_term_ids( $limit, $taxonomy, $name = '' ) {
109+
_deprecated_function( __METHOD__, '1.2.2', 'Product::get_term_ids' );
110+
109111
self::init_faker();
110112

111113
$term_ids = array();

0 commit comments

Comments
 (0)