Skip to content

Commit a0bf0e8

Browse files
committed
Add deprecation tags to doc blocks
1 parent 6e7ea22 commit a0bf0e8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

includes/Generator/Generator.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ abstract class Generator {
2626
/**
2727
* Caches term IDs.
2828
*
29+
* @deprecated
30+
*
2931
* @var array Array of IDs.
3032
*/
3133
protected static $term_ids;
@@ -100,9 +102,12 @@ protected static function validate_batch_amount( $amount ) {
100102
/**
101103
* Get random term ids.
102104
*
105+
* @deprecated Use Product::get_term_ids instead.
106+
*
103107
* @param int $limit Number of term IDs to get.
104108
* @param string $taxonomy Taxonomy name.
105109
* @param string $name Product name to extract terms from.
110+
*
106111
* @return array
107112
*/
108113
protected static function generate_term_ids( $limit, $taxonomy, $name = '' ) {

0 commit comments

Comments
 (0)