Title: WordPress action parameters
Last modified: August 22, 2016

---

# WordPress action parameters

 *  Resolved [adomasven](https://wordpress.org/support/users/adomasven/)
 * (@adomasven)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/wordpress-action-parameters/)
 * Hi,
 * I want to use wordpress actions to attach some functions after the comment checks
   happen. I am mainly interested in `class.akismet.php` on line 122:
 * \`
    do_action( ‘akismet_comment_check_response’, $response ); `
 * The problem is this action does not include the comment_id, which is needed for
   my intended purposes. Would it be possible to add the comment_id as a second 
   parameter to this (and potentially every other) action?
 * Thanks,
    Adomas
 * [https://wordpress.org/plugins/akismet/](https://wordpress.org/plugins/akismet/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [adomasven](https://wordpress.org/support/users/adomasven/)
 * (@adomasven)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wordpress-action-parameters/#post-5670633)
 * Hi,
 * Any updates on this? I would be willing to submit a patch file, if this received
   any attention from the developers.
 * Actions is a standard piece of functionality in wordpress, which is very flexible
   and backwards compatible in regards to changes, as can be seen [here](http://codex.wordpress.org/Function_Reference/add_action).
 * The actions are there (although after a more careful read of the code, not in
   every place where they should be), they only need additional parameters to be
   useful!
 * It would be nice to hear the devs opinion on this issue!
 * Kind regards,
    Adomas
 *  Thread Starter [adomasven](https://wordpress.org/support/users/adomasven/)
 * (@adomasven)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wordpress-action-parameters/#post-5670635)
 * After some more investigation into both akismet and wordpress core comment code
   I realized this wasn’t possible at that stage of the comment submission, neither
   was it necessary for our intended purposes. Whoops! 🙂
 * Thanks,
    Adomas
 *  Plugin Author [Christopher Finke](https://wordpress.org/support/users/cfinke/)
 * (@cfinke)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wordpress-action-parameters/#post-5670636)
 * Sorry for not responding to this; I never got an email notification for this 
   thread. Glad to hear it’s been semi-resolved though. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WordPress action parameters’ is closed to new replies.

 * ![](https://ps.w.org/akismet/assets/icon-256x256.png?rev=2818463)
 * [Akismet Anti-spam: Spam Protection](https://wordpress.org/plugins/akismet/)
 * [Support Threads](https://wordpress.org/support/plugin/akismet/)
 * [Active Topics](https://wordpress.org/support/plugin/akismet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/akismet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/akismet/reviews/)

## Tags

 * [action](https://wordpress.org/support/topic-tag/action/)

 * 3 replies
 * 2 participants
 * Last reply from: [Christopher Finke](https://wordpress.org/support/users/cfinke/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/wordpress-action-parameters/#post-5670636)
 * Status: resolved