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 a0bf0e8 commit 7b4857cCopy full SHA for 7b4857c
includes/Generator/Product.php
@@ -423,7 +423,7 @@ protected static function generate_simple_product() {
423
* Get a number of random term IDs for a specific taxonomy.
424
*
425
* @param string $taxonomy The taxonomy to get terms for.
426
- * @param int $limit The number of term IDs to get.
+ * @param int $limit The number of term IDs to get. Maximum value of 50.
427
428
* @return array
429
*/
@@ -435,7 +435,7 @@ protected static function get_term_ids( $taxonomy, $limit ) {
435
if ( ! RandomRuntimeCache::exists( $taxonomy ) ) {
436
$args = array(
437
'taxonomy' => $taxonomy,
438
- 'number' => 20,
+ 'number' => 50,
439
'orderby' => 'count',
440
'order' => 'ASC',
441
'hide_empty' => false,
0 commit comments