You appear to be a bot. Output may be restricted
Description
Validate the plugin name: plugin must not be blank
Usage
$bool = oik_plugins_validate_plugin( $plugin );
Parameters
- $plugin
- ( string ) required – plugin name
Returns
bool true if the plugin name is valid
Source
File name: oik/libs/oik_plugins.php
Lines:
1 to 11 of 11
function oik_plugins_validate_plugin( $plugin ) { $valid = isset( $plugin ); if ( $valid ) { $plugin = trim( $plugin ); $valid = strlen( $plugin ) > 0; } if ( !$valid ) { BW_::p( __( "settings must not be blank", null ) ); } return $valid; }