You appear to be a bot. Output may be restricted
Description
Validate the apikey field
Usage
$string = oiksc_validate_apikey();
Parameters
Returns
string the API key if valid.TO DO
This invokes apply_filters in a non-standard way. The returned value is expected to be the first parameter.Source
File name: oik-shortcodes/oik-shortcodes.phpLines:
1 to 9 of 9
function oiksc_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