From eefd218f96c8644eed2869408871922cdada33a1 Mon Sep 17 00:00:00 2001 From: Rafael Funchal Date: Tue, 17 Sep 2024 11:58:29 -0700 Subject: [PATCH] Adding documentation for WordPress.Arrays.ArrayDeclarationSpacing Co-authored-by: RafaelFunchal Co-authored-by: mattgaldino Co-authored-by: Rodrigo Primo Co-authored-by: Juliette <663378+jrfnl@users.noreply.github.com> --- .../ArrayDeclarationSpacingStandard.xml | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 WordPress/Docs/Arrays/ArrayDeclarationSpacingStandard.xml diff --git a/WordPress/Docs/Arrays/ArrayDeclarationSpacingStandard.xml b/WordPress/Docs/Arrays/ArrayDeclarationSpacingStandard.xml new file mode 100644 index 0000000000..9b61acc2aa --- /dev/null +++ b/WordPress/Docs/Arrays/ArrayDeclarationSpacingStandard.xml @@ -0,0 +1,58 @@ + + + + + + + + 'cat' => 1, + 'paged' => 2, +); + ]]> + + + 'cat' => 1, 'paged' => 2 ); + ]]> + + + + + + + + 'post', + 'page', +); + +$args = array( + 'cat' => 1, + 'paged' => 2, +); + ]]> + + + 'post', 'page', +); + + +$args = array( + 'cat' => 1, 'paged' => 2, +); + ]]> + + +