Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Mobile
    • Hosting
    • Openverse ↗︎
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • Developers
    • WordPress.tv ↗︎
  • Community
    • Make WordPress
    • Photo Directory
    • Five for the Future
    • WordCamp ↗︎
    • Meetups ↗︎
    • Job Board ↗︎
  • About
    • About WordPress
    • Showcase
    • Enterprise
    • Gutenberg ↗︎
    • WordPress Swag Store ↗︎
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/class-wp-block-patterns-registry.php

WP_Block_Patterns_Registry::unregister()

Method: Unregisters a block pattern.

Source: wp-includes/class-wp-block-patterns-registry.php:138

Used by 0 functions | Uses 3 functions

WP_Block_Patterns_Registry::get_registered()

Method: Retrieves an array containing the properties of a registered block pattern.

Source: wp-includes/class-wp-block-patterns-registry.php:163

Used by 0 functions | Uses 1 function

WP_Block_Patterns_Registry::get_all_registered()

Method: Retrieves all registered block patterns.

Source: wp-includes/class-wp-block-patterns-registry.php:180

Used by 0 functions | Uses 0 functions

WP_Block_Patterns_Registry::is_registered()

Method: Checks if a block pattern is registered.

Source: wp-includes/class-wp-block-patterns-registry.php:196

Used by 2 functions | Uses 0 functions

WP_Block_Patterns_Registry::get_instance()

Method: Utility method to retrieve the main instance of the class.

Source: wp-includes/class-wp-block-patterns-registry.php:209

Used by 6 functions | Uses 0 functions

register_block_pattern()

Function: Registers a new block pattern.

Source: wp-includes/class-wp-block-patterns-registry.php:228

Used by 5 functions | Uses 1 function

unregister_block_pattern()

Function: Unregisters a block pattern.

Source: wp-includes/class-wp-block-patterns-registry.php:240

Used by 0 functions | Uses 1 function

WP_Block_Patterns_Registry

Class: Class used for interacting with block patterns.

Source: wp-includes/class-wp-block-patterns-registry.php:16

Used by 0 functions | Uses 0 functions

WP_Block_Patterns_Registry::register()

Method: Registers a block pattern.

Source: wp-includes/class-wp-block-patterns-registry.php:85

Used by 0 functions | Uses 3 functions
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our YouTube channel
Code is Poetry