Fix "add_action" accepted args (#45862)

* Fix "add_action" accepted args

Fixing the "add_action" accepted args on the examples

* Add changefile(s) from automation for the following project(s): woocommerce-blocks

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Marco Almeida 2024-03-25 12:13:44 +00:00 committed by GitHub
parent 8fe1c4005e
commit 39ecfece30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 5 deletions

View File

@ -402,7 +402,7 @@ add_action(
} }
}, },
10, 10,
4 3
); );
``` ```
@ -524,11 +524,9 @@ add_action(
return $error; return $error;
}, },
10, 10,
4 3
); );
}, }
10,
4
); );
add_action( add_action(

View File

@ -0,0 +1,4 @@
Significance: patch
Type: update
Comment: No changelog needed, this is just a docs update