get_akismet_fields()
private static function get_akismet_fields( $form, $entry, $action='submit' )
Prepares a query string containing the data to be sent to Akismet.
Since:
unknown2.4.19(Added the $action param.)
Source: common.php:4994
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$form | array | The form which created the entry. | |
$entry | array | The entry being processed. | |
$action | string | 'submit' | The action triggering the Akismet request: submit, spam, or ham. |
Returns
string