edd_get_random_downloads( int $num = 3, bool $post_ids = true )

Returns random downloads


Description Description


Parameters Parameters

$num

(Optional) The number of posts to return

Default value: 3

$post_ids

(Optional) True for array of post objects, else array of ids

Default value: true


Top ↑

Return Return

(mixed) $query Returns an array of id's or an array of post objects


Top ↑

Source Source

File: includes/download-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.7 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.