bp_document_filename_to_title( [type] $filename )
Convert filename to post title
Description
Parameters
- $filename
-
(Required)
Return
(void)
Source
File: bp-document/bp-document-functions.php
function bp_document_filename_to_title( $filename ) { // return ucwords( preg_replace('~[^a-zA-Z0-9]~', ' ', $filename) ); return $filename; }
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.