Skip to content
Snippets Groups Projects
Commit ce8e0e09 authored by Christian Wach's avatar Christian Wach :soccer:
Browse files

Fix "acfe/form/submit" params

parent c91fab6b
No related branches found
No related tags found
No related merge requests found
...@@ -143,10 +143,10 @@ class CFAFA_Form_Action_Redirect extends CFAFA_Form_Action_Base { ...@@ -143,10 +143,10 @@ class CFAFA_Form_Action_Redirect extends CFAFA_Form_Action_Base {
* *
* @since 0.1.1 * @since 0.1.1
* *
* @param array $redirect_data The array of Redirect data.
* @param array $form The array of Form data. * @param array $form The array of Form data.
* @param integer $current_post_id The ID of the Post from which the Form has been submitted.
*/ */
do_action( 'acfe/form/submit', $form, $post_id ); do_action( 'acfe/form/submit', $form, $current_post_id );
// Do the redirect. // Do the redirect.
wp_safe_redirect( $redirect_data['redirect_url'] ); wp_safe_redirect( $redirect_data['redirect_url'] );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment