$data ) { if ( !empty( $data ) ) { foreach ( $spam_words as $sw ) { if ( stripos( $data, $sw ) !== false ) { // translators: %s is the spam word detected in the content return sprintf( esc_html__( 'Spam Word: %1$s in %2$s', 'dam-spam' ), $sw, $key ); } } } } return false; } } ?>