db_core_remove_file_extension_from_slug( $slug, $file_type = '.md' )
Remove file type from slug
Description
Parameters
- $slug
-
(Required)
- $extention
-
(Required)
Return
(mixed)
Source
File: bp-core/bp-core-help.php
*/ function db_core_remove_file_extension_from_slug( $slug, $file_type = '.md' ) { return str_replace( $file_type, '', $slug );
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.