Skip to content

Commit c8ec742

Browse files
committed
adds readme
1 parent 28c86ec commit c8ec742

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

example-block-style.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
* @package create-block
1414
*/
1515

16+
/**
17+
* Register our custom block style
18+
*
19+
* @return void
20+
*/
1621
function wp_dev_register_block_style() {
1722

1823
wp_enqueue_block_style(

readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Example Block Style
2+
3+
This plugin is the demo code for a [blog post](https://www.briancoords.com/custom-lists-in-wordpress-with-register-block-style/) and video tutorial covering the `register_block_style` function in WordPress.
4+

0 commit comments

Comments
 (0)