Warning: This method has been deprecated.

LLMS_AJAX::get_certificates()

Return array of certificates (id => name)


Description Description


Return Return

(array)


Top ↑

Source Source

File: includes/class.llms.ajax.php

	public function get_certificates() {

		llms_deprecated_function( 'LLMS_AJAX::get_certificates()', '3.13.0' );

		$args = array(
			'post_type' 	=> 'llms_certificate',
			'nopaging' 		=> true,
			'post_status'   => 'publish',

		 );

		$postslist = get_posts( $args );

		echo json_encode( $postslist );

		die();
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.13.0 This method has been deprecated.
?? Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: