dozent_get_selling_platforms()

Get all available selling platforms


Description

This function will return an array containing all available selling platforms Sorting, filter options available to course archive page

Example usage:

dozent_get_selling_platforms();

See also


Return

(mixed|array)


Source

File: includes/core-functions.php

	function dozent_get_selling_platforms() {

		$platform_list = [
			'none' => __( 'None', 'dozent' )
		];

		/**
		 * Filters the list of selling platforms available on the DozentLMS.
		 *
		 * @param array $platform_list Array of selling platforms.
		 *
		 * @since DozentLMS 1.0.0
		 *
		 */

		return apply_filters( 'dozent_selling_platforms', $platform_list );
	}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.