Adding filter to the Contact Form 7 response
Please find below a potential solution. It checks the status of the $id for being a \WP_Error (indicating the creation of the post failed). If it’s not a error, it’ll produce a simple message to give output the $id. However, it should be noted that the code you’ve provided has an error and will likely … Read more