You appear to be a bot. Output may be restricted
Description
Validate the apikey field
Usage
$bool/null = oik_clone_validate_apikey();
Parameters
Returns
bool/null indicator if the API key is validTO DO
This invokes apply_filters in a non-standard way. The returned value is expected to be the first parameter.Source
File name: oik-clone/admin/oik-clone-json.phpLines:
1 to 9 of 9
function oik_clone_validate_apikey() { $apikey = bw_array_get( $_REQUEST, "oik_apikey", null ); if ( $apikey ) { $apikey = apply_filters( "oik_validate_apikey", null, $apikey ); } else { p( "Missing oik_apikey" ); } return( $apikey ); }View on GitHub