llms_get_unprefixed_post_types()
Retrieve an array of post types whose name doesn’t start with the prefix ‘llms_’.
Return Return
(string[])
Source Source
File: includes/llms.functions.core.php
262 263 264 265 266 267 268 269 270 271 272 | */ 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' ) ); |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.10.1 | Introduced. |