You appear to be a bot. Output may be restricted
Description
Match the function type, if it's a defined function
Usage
oikai_query_function_type( $defined_functions, $type, $funcname );
Parameters
- $defined_functions
- ( array ) required – array of defined functions
- $type
- ( string ) required – the required function type: "internal"|"user"
- $funcname
- ( string ) required – the function name
Returns
voidSource
File name: oik-shortcodes/shortcodes/oik-api-importer.phpLines:
1 to 13 of 13
function oikai_query_function_type( $defined_functions, $type, $funcname ) { $set = bw_array_get( $defined_functions, $type, null ); if ( $set ) { $assoc = bw_assoc( $set ); $defined = bw_array_get( $assoc, $funcname, null ); if ( !$defined ) { $type = null; } } else { $type = null; } return( $type ); }View on GitHub