You appear to be a bot. Output may be restricted
Description
Return a candidate function name from the given string
Converts spaces and hyphens to underscores and converts to lowercase – which is not actually necessary for PHP code but can help in legibility
Usage
bw_function_namify( $name );
Parameters
- $name
- ( mixed ) required –
Returns
void
Source
File name: oik-themes/oik-themes.php
Lines:
1 to 7 of 7
function bw_function_namify( $name ) { $name = trim( $name ); $name = str_replace( ' ', '_', $name ); $name = str_replace( '-', '_', $name ); $name = strtolower( $name ); return( bw_trace2( $name ) ); }