bool is_key_valid(
[
$key_data = array()])
|
|
Checks if a key is valid.
$key_data should be in the following format:
- blog (defaults to site_url('/'))
The front page or home URL of the instance making the request. For a blog or wiki this would be the front page. Note: Must be a full URI, including http://.
Tags:
Parameters:
bool is_spam(
[
$comment_data = array()])
|
|
Checks if a comment is spam.
$comment_data should be an assoc array containing the following:
- blog (defaults to site_url('/'))
The front page or home URL of the instance making the request. For a blog or wiki this would be the front page. Note: Must be a full URI, including http://.
- user_ip (will try to detect the correct IP if not specified)
IP address of the comment submitter.
- user_agent (defaults to request user agaent)
User agent string of the web browser submitting the comment - typically the HTTP_USER_AGENT cgi variable. Not to be confused with the user agent of your Akismet library.
- referrer (defaults to request referer)
The content of the HTTP_REFERER header should be sent here.
The permanent location of the entry the comment was submitted to.
May be blank, comment, trackback, pingback, or a made up value like "registration".
Name submitted with the comment
Email address submitted with the comment
URL submitted with comment
The content that was submitted.
Tags:
Parameters:
void mark_ham(
array
$comment_data)
|
|
Marks a comment as ham.
Ham is a comment that was marked as spam incorrectly.
$comment_data shoudd be an assoc array containing the comments data. For more information see {@see is_spam}
Tags:
Parameters: