Description
theme must not be blank
Usage
oik_themes_validate_theme( $theme );Parameters
- $theme
- ( mixed ) required –
Returns
voidSource
File name: oik/libs/oik_themes.phpLines:
1 to 11 of 11
function oik_themes_validate_theme( $theme ) { $valid = isset( $theme ); if ( $valid ) { $theme = trim( $theme ); $valid = strlen( $theme ) > 0; } if ( !$valid ) { BW_::p( __( "settings must not be blank", null ) ); } return $valid; }View on GitHub View on Trac
