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

Developer Resources

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

register_block_pattern_category()

Function: Registers a new pattern category.

Source: wp-includes/class-wp-block-pattern-categories-registry.php:177

Used by 1 function | Uses 1 function

unregister_block_pattern_category()

Function: Unregisters a pattern category.

Source: wp-includes/class-wp-block-pattern-categories-registry.php:189

Used by 0 functions | Uses 1 function

WP_Block_Pattern_Categories_Registry

Class: Class used for interacting with block pattern categories.

Source: wp-includes/class-wp-block-pattern-categories-registry.php:14

Used by 0 functions | Uses 0 functions

WP_Block_Pattern_Categories_Registry::register()

Method: Registers a pattern category.

Source: wp-includes/class-wp-block-pattern-categories-registry.php:52

Used by 0 functions | Uses 3 functions

WP_Block_Pattern_Categories_Registry::unregister()

Method: Unregisters a pattern category.

Source: wp-includes/class-wp-block-pattern-categories-registry.php:87

Used by 0 functions | Uses 3 functions

WP_Block_Pattern_Categories_Registry::get_registered()

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

Source: wp-includes/class-wp-block-pattern-categories-registry.php:112

Used by 0 functions | Uses 1 function

WP_Block_Pattern_Categories_Registry::get_all_registered()

Method: Retrieves all registered pattern categories.

Source: wp-includes/class-wp-block-pattern-categories-registry.php:128

Used by 0 functions | Uses 0 functions

WP_Block_Pattern_Categories_Registry::is_registered()

Method: Checks if a pattern category is registered.

Source: wp-includes/class-wp-block-pattern-categories-registry.php:144

Used by 2 functions | Uses 0 functions

WP_Block_Pattern_Categories_Registry::get_instance()

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

Source: wp-includes/class-wp-block-pattern-categories-registry.php:157

Used by 3 functions | Uses 0 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
Code is Poetry