| [ Index ] | 
		    PHP Cross Reference of WordPress | 
    
[Source view] [Print] [Project Stats]
Blocks API: WP_Block_Pattern_Categories_Registry class
| File Size: | 167 lines (5 kb) | 
| Included or required: | 0 times | 
| Referenced: | 0 times | 
| Includes or requires: | 0 files | 
| register( $category_name, $category_properties ) X-Ref | 
| Registers a pattern category. param: string $category_name Pattern category name including namespace. param: array $category_properties { return: bool True if the pattern was registered with success and false otherwise. since: 5.5.0  | 
| unregister( $category_name ) X-Ref | 
| Unregisters a pattern category. param: string $category_name Pattern category name including namespace. return: bool True if the pattern was unregistered with success and false otherwise. since: 5.5.0  | 
| get_registered( $category_name ) X-Ref | 
| Retrieves an array containing the properties of a registered pattern category. param: string $category_name Pattern category name including namespace. return: array Registered pattern properties. since: 5.5.0  | 
| get_all_registered() X-Ref | 
| Retrieves all registered pattern categories. return: array[] Array of arrays containing the registered pattern categories properties. since: 5.5.0  | 
| is_registered( $category_name ) X-Ref | 
| Checks if a pattern category is registered. param: string $category_name Pattern category name including namespace. return: bool True if the pattern category is registered, false otherwise. since: 5.5.0  | 
| get_instance() X-Ref | 
| Utility method to retrieve the main instance of the class. The instance will be created if it does not exist yet. return: WP_Block_Pattern_Categories_Registry The main instance. since: 5.5.0  | 
| register_block_pattern_category( $category_name, $category_properties ) X-Ref | 
| Registers a new pattern category. param: string $category_name Pattern category name including namespace. param: array $category_properties List of properties for the block pattern. return: bool True if the pattern category was registered with success and false otherwise. since: 5.5.0  | 
| unregister_block_pattern_category( $category_name ) X-Ref | 
| Unregisters a pattern category. param: string $category_name Pattern category name including namespace. return: bool True if the pattern category was unregistered with success and false otherwise. since: 5.5.0  | 
| Generated: Tue Nov 4 01:00:02 2025 | Cross-referenced by PHPXref 0.7.1 |