We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e7ea22 commit a0bf0e8Copy full SHA for a0bf0e8
includes/Generator/Generator.php
@@ -26,6 +26,8 @@ abstract class Generator {
26
/**
27
* Caches term IDs.
28
*
29
+ * @deprecated
30
+ *
31
* @var array Array of IDs.
32
*/
33
protected static $term_ids;
@@ -100,9 +102,12 @@ protected static function validate_batch_amount( $amount ) {
100
102
101
103
* Get random term ids.
104
105
+ * @deprecated Use Product::get_term_ids instead.
106
107
* @param int $limit Number of term IDs to get.
108
* @param string $taxonomy Taxonomy name.
109
* @param string $name Product name to extract terms from.
110
111
* @return array
112
113
protected static function generate_term_ids( $limit, $taxonomy, $name = '' ) {
0 commit comments