You appear to be a bot. Output may be restricted
Description
Print the return field informationNow formats the description of the return value
Usage
oikai_print_return_info( $type, $description );
Parameters
- $type
- ( string ) optional default: void – the type of data returned
- $description
- ( string ) optional – the description of the return value
Returns
voidSource
File name: oik-shortcodes/shortcodes/oik-api-importer.phpLines:
1 to 11 of 11
function oikai_print_return_info( $type="void", $description=null ) { h2( "Returns" ); $type = ( $type ) ? $type : "void"; e( "<i>$type</i> " ); //e( substr( $description, 0, -5 )); $description = substr( $description, 0, -5 ); $description = ltrim( $description, "- " ); oikai_format_description( $description ); }View on GitHub