Skip to content

Commit 51780fb

Browse files
committed
[N/A] Added get_icon documentation
1 parent d1ca833 commit 51780fb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,12 @@ This block settings panel is available on any supported block in the Full Site E
160160

161161
Returns an instance of the Viget Blocks Toolkit `Core` class.
162162

163+
```php
164+
<?php
165+
// Retrieve a specific block icon array.
166+
vgtbt()->block_icons->get_icon( 'my-custom-icon' );
167+
```
168+
163169
### `block_attrs()`
164170

165171
Outputs the block attributes as a string. Supported arguments:

0 commit comments

Comments
 (0)