You appear to be a bot. Output may be restricted
Description
type must not be blank
Usage
oik_diy_validate_type( $type );
Parameters
- $type
- ( mixed ) required –
Returns
voidSource
File name: oik-types/admin/oik-types.phpLines:
1 to 12 of 12
function oik_diy_validate_type( $type ) { $valid = isset( $type ); if ( $valid ) { $type = trim( $type ); $valid = strlen( $type ) > 0; $valid &= strlen( $type ) < 20; } if ( !$valid ) { p( "Type must not be blank" ); } return $valid; }View on GitHub