• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
WordPress.org
WordPress.org
  • Plugins
  • Themes
  • Patterns
  • Learn
  • Support
    • Documentation
    • Forums
  • News
  • About
  • Get Involved
    • Five for the Future
  • Showcase
  • Mobile
  • Hosting
  • Openverse
  • Get WordPress
Get WordPress

Code Reference

Skip to content
Filter by type:
Search
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:176

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:188

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:13

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:51

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:86

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:111

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:127

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:143

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:156

Used by 3 functions | Uses 0 functions
  • About
  • News
  • Hosting
  • Donate
  • Support
  • 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
Code is Poetry