Skip to content

Commit 1d4ccd3

Browse files
committed
docs: use argv instead of wpdb for the example
1 parent 360c543 commit 1d4ccd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/documentation/php-interop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Use the `php/` prefix to access the global variables in combination with `get`.
99

1010
```phel
1111
(get php/$_SERVER "key") # Similar to $_SERVER['key']
12-
(get php/$GLOBAL "wpdb") # Similar to $GLOBAL['wpdb']
12+
(get php/$GLOBAL "argv") # Similar to $GLOBAL['argv']
1313
```
1414

1515
## Calling PHP functions

0 commit comments

Comments
 (0)