You appear to be a bot. Output may be restricted
Description
Get first parm nameReturn the first name for the parameter. This is used to generate the link for the shortcode parameter. Some shortcodes have parameters which can have multiple keys for the basically the same content e.g. src,mp3,m4a,ogg… for [audio] other shortcode accepts positional parameters – e.g. api|0 for the [api] shortcode
Usage
$string = bw_form_sc_get_first_parm_name( $parameter );
Parameters
- $parameter
- ( string ) required –
Returns
string returned valueSource
File name: oik/libs/oik-sc-help.phpLines:
1 to 5 of 5
function bw_form_sc_get_first_parm_name( $parameter ) { $parm = str_replace( array("|", ",") , " ", $parameter ); $parms = explode(" ", $parm ); return( $parms[0] ); }View on GitHub View on Trac