Noptin_EDD::get_products()

Returns an array of all published downloads.


Return Return

(array)


Top ↑

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 );

	}

Top ↑

Changelog Changelog

Changelog
VersionDescription
1.2.6Introduced.

Top ↑

User Contributed Notes User Contributed Notes

30 day money back guarantee
Safe & Secure online payment
Custom CSS Slide Example
Custom Animation Example
Default Animation