From 7a2325c64130d0ae2f065a9c1afd08b3688583d1 Mon Sep 17 00:00:00 2001 From: Ari Stathopoulos Date: Fri, 23 Sep 2022 14:02:47 +0300 Subject: [PATCH] rename action --- packages/block-library/src/form/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/form/index.php b/packages/block-library/src/form/index.php index b17c6ea50135c9..3661f6e72301c3 100644 --- a/packages/block-library/src/form/index.php +++ b/packages/block-library/src/form/index.php @@ -30,7 +30,7 @@ function render_block_core_form( $attributes, $content, $block ) { * * @return string The form action attribute. */ - $action = apply_filters( 'block_form', $action, $attributes, $content, $block ); + $action = apply_filters( 'block_form_action', $action, $attributes, $content, $block ); // Build the form method attribute. $method = empty( $attributes['method'] ) ? '' : $attributes['method'];