Skip to content

Commit 35fd1ed

Browse files
Update README.md
1 parent 44f0007 commit 35fd1ed

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
# Craft Status Code Plugin
22

3-
Expose HTTP status code to Craft Twig template.
3+
Expose HTTP status code to Craft Twig templates.
4+
5+
```php
6+
{{ craft.statuscode.getHttpStatus() }}
7+
```

0 commit comments

Comments
 (0)