Awesome Support Developer Documentation

wpas_add_reply_failed


Signature

do_action( 'wpas_add_reply_failed', $data, $post_id, $reply_id )

Typical Usage

This action hook is called if the reply couldn’t be inserted.
This hook will be fired both in the admin and in the front-end.

Parameters

  • $data: Array The data we tried to add to the database
  • $post_id: Integer ID of the parent post
  • $reply_id: object WP_Error

Located In

  • File: includes/functions-post.php
  • Function: wpas_insert_reply

More Topics In Action Hooks

Share: