llms_get_unprefixed_post_types()

Retrieve an array of post types whose name doesn’t start with the prefix ‘llms_’.


Return Return

(string[])


Top ↑

Source Source

File: includes/llms.functions.core.php

 */
function llms_get_unprefixed_post_types() {

	/**
	 * Filter the list of post types whose name doesn't start with the prefix 'llms_'.
	 *
	 * @since 4.10.1
	 *
	 * @param string[] $post_types WP_Post post type names.
	 */
	return apply_filters( 'llms_unprefixed_post_types', array( 'course', 'section', 'lesson' ) );



Top ↑

Changelog Changelog

Changelog
Version Description
4.10.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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