Noptin_EDD::get_products()
Returns an array of all published downloads.
Return Return
(array)
Source Source
File: includes/integrations/class-noptin-edd.php
public function get_products() { $args = array( 'fields' => 'ids', 'post_type' => 'download', 'post_status' => 'publish', 'no_found_rows' => true, ); return get_posts( $args ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.2.6 | Introduced. |