You appear to be a bot. Output may be restricted
Description
Perform an Akismet check on the message, if it's activated
Usage
$bool = bw_akismet_check( $fields );
Parameters
- $fields
- ( mixed ) required –
Returns
bool whether or not to send the email messageSource
File name: oik/shortcodes/oik-contact-form.phpLines:
1 to 10 of 10
function bw_akismet_check( $fields ) { if ( class_exists( "Akismet") || function_exists( 'akismet_http_post' ) ) { $query_string = bw_build_akismet_query_string( $fields ); $send = bw_call_akismet( $query_string ); } else { bw_trace2( "Akismet not loaded." ); $send = bw_basic_spam_check( $fields ); } return( $send ); }View on GitHub View on Trac