File: wp-includes/class-wp-block-patterns-registry.php
-
Retrieves the content of a registered block pattern.
Used by 2 functions | Uses 0 functions | Source: wp-includes/class-wp-block-patterns-registry.php:195 -
Used by 0 functions | Uses 0 functions | Source: wp-includes/class-wp-block-patterns-registry.php:265
-
Prepares the content of a block pattern. If hooked blocks are registered, they get injected into the pattern, when they met the defined criteria.
Used by 2 functions | Uses 5 functions | Source: wp-includes/class-wp-block-patterns-registry.php:171 -
Unregisters a block pattern.
Used by 0 functions | Uses 3 functions | Source: wp-includes/class-wp-block-patterns-registry.php:144 -
Retrieves an array containing the properties of a registered block pattern.
Used by 0 functions | Uses 4 functions | Source: wp-includes/class-wp-block-patterns-registry.php:218 -
Retrieves all registered block patterns.
Used by 0 functions | Uses 3 functions | Source: wp-includes/class-wp-block-patterns-registry.php:239 -
Checks if a block pattern is registered.
Used by 2 functions | Uses 0 functions | Source: wp-includes/class-wp-block-patterns-registry.php:261 -
Utility method to retrieve the main instance of the class.
Used by 7 functions | Uses 0 functions | Source: wp-includes/class-wp-block-patterns-registry.php:289 -
functionregister_block_pattern()
Registers a new block pattern.
Used by 5 functions | Uses 1 function | Source: wp-includes/class-wp-block-patterns-registry.php:308 -
functionunregister_block_pattern()
Unregisters a block pattern.
Used by 0 functions | Uses 1 function | Source: wp-includes/class-wp-block-patterns-registry.php:320 -
Class used for interacting with block patterns.
Used by 0 functions | Uses 0 functions | Source: wp-includes/class-wp-block-patterns-registry.php:16 -
Registers a block pattern.
Used by 0 functions | Uses 3 functions | Source: wp-includes/class-wp-block-patterns-registry.php:89