Skip to main content

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:

  • unknown
  • 2.4.19 (Added the $action param.)

Source: common.php:4994

Parameters

NameTypeDefaultDescription
$formarrayThe form which created the entry.
$entryarrayThe entry being processed.
$actionstring'submit'The action triggering the Akismet request: submit, spam, or ham.

Returns

  • string