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

Codestyle on filter params

parent ce8e0e09
No related branches found
No related tags found
No related merge requests found
......@@ -162,10 +162,10 @@ class CFAFA_Form_Action_Base {
*
* @since 0.1
*
* @param bool $prepare True by default so that the Form Action goes ahead.
* @param array $form The array of Form data.
* @param bool $prepare True by default so that the Form Action goes ahead.
* @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.
* @param string $action The customised name of the Form Action.
* @param string $action The customised name of the Form Action.
*/
$filter = 'acfe/form/prepare/' . $this->action_name;
$prepare = apply_filters( $filter, $prepare, $form, $current_post_id, $action );
......
......@@ -625,10 +625,10 @@ class CFAFA_Form_Action_Email extends CFAFA_Form_Action_Base {
*
* @since 0.1
*
* @param bool $args The array of arguments.
* @param array $form The array of Form data.
* @param bool $args The array of arguments.
* @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.
* @param string $action The customised name of the Form Action.
* @param string $action The customised name of the Form Action.
*/
$filter = 'acfe/form/submit/' . $this->action_name . '/email_args';
$args = apply_filters( $filter, $args, $form, $current_post_id, $action );
......
......@@ -143,7 +143,7 @@ class CFAFA_Form_Action_Redirect extends CFAFA_Form_Action_Base {
*
* @since 0.1.1
*
* @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, $current_post_id );
......@@ -231,10 +231,10 @@ class CFAFA_Form_Action_Redirect extends CFAFA_Form_Action_Base {
*
* @since 0.1
*
* @param string $url The Redirect URL.
* @param array $form The array of Form data.
* @param string $url The Redirect URL.
* @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.
* @param string $action The customised name of the Form Action.
* @param string $action The customised name of the Form Action.
*/
$filter = 'acfe/form/submit/' . $this->action_name . '/url';
$url = apply_filters( $filter, $url, $form, $current_post_id, $action );
......
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