Skip to content

Commit 8ea8368

Browse files
committed
fix typos in container conditions
1 parent f8d9f58 commit 8ea8368

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/10-containers/10-conditional-display.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ _Note: chaining conditions behaves exactly like a normal php `if` statement with
1111

1212
| Parameter | Description |
1313
|------------------------|---------------------------------------------------------------------------------------------------------------|
14-
| `$condition` | A condition type name as a string (refer to the `Container Types` page) |
14+
| `$condition` | A condition type name as a string (refer to the `Condition Types` page) |
1515
| `$comparison_operator` | Can be one of the following: `'='`, `'!='`, `'>'`, `'>='`, `'<'`, `'<='`, `'IN'`, `'NOT IN'`, `'CUSTOM'` |
1616
| `$value` | The value to check against. `IN` and `NOT IN` operators expect an array; `CUSTOM` operator expects a callable |
1717

@@ -59,7 +59,7 @@ Container::make( 'post_meta', 'Custom Data' )
5959

6060
##### Nested logic
6161

62-
In order to achieve nested display logic the `when()` and `or_when()` methods also support being invoked with a `callable`:
62+
In order to achieve nested display logic the `where()` and `or_where()` methods also support being invoked with a `callable`:
6363

6464
```php
6565
Container::make( 'post_meta', 'Custom Data' )

0 commit comments

Comments
 (0)