Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Controller_Awards::strip_prefix( string $post_type )
Convert post type to award type.
Parameters Parameters
- $post_type
-
(string) (Required) A post type string.
Return Return
(string)
Source Source
File: includes/controllers/class-llms-controller-awards.php
private static function strip_prefix( $post_type ) { return llms_strip_prefixes( $post_type, array( 'llms_my_' ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |