mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Blocks: Introduce register_block_type(), unregister_block_type(), and get_dynamic_blocks() functions.
These helper functions allow easy access to the global block registry. Merges [43743] from the 5.0 branch to trunk. See #45109. git-svn-id: https://develop.svn.wordpress.org/trunk@44109 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<p>First Auto Paragraph</p>
|
||||
|
||||
<!--more-->
|
||||
|
||||
<p>First Gutenberg Paragraph</p>
|
||||
|
||||
<p>Second Auto Paragraph</p>
|
||||
|
||||
|
||||
<p>Third Gutenberg Paragraph</p>
|
||||
|
||||
<p>Third Auto Paragraph</p>
|
||||
|
||||
<p>[someshortcode]</p>
|
||||
<p>And some content?!</p>
|
||||
<p>[/someshortcode]</p>
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
<p>First Auto Paragraph</p>
|
||||
|
||||
<!--more-->
|
||||
|
||||
<!-- wp:core/paragraph -->
|
||||
<p>First Gutenberg Paragraph</p>
|
||||
<!-- /wp:core/paragraph -->
|
||||
|
||||
<p>Second Auto Paragraph</p>
|
||||
|
||||
<!-- wp:core/test-self-closing /-->
|
||||
|
||||
<!-- wp:core/paragraph -->
|
||||
<p>Third Gutenberg Paragraph</p>
|
||||
<!-- /wp:core/paragraph -->
|
||||
|
||||
<p>Third Auto Paragraph</p>
|
||||
|
||||
<!-- wp:core/shortcode -->
|
||||
[someshortcode]
|
||||
|
||||
And some content?!
|
||||
|
||||
[/someshortcode]
|
||||
<!-- /wp:core/shortcode -->
|
||||
Reference in New Issue
Block a user