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.


Top ↑

Return Return

(string)


Top ↑

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_' ) );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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