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
  • Get WordPress
Get WordPress

Developer Resources

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

WP_Block_Styles_Registry

Class: Class used for interacting with block styles.

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

Used by 0 functions | Uses 0 functions

WP_Block_Styles_Registry::register()

Method: Registers a block style for the given block type.

Source: wp-includes/class-wp-block-styles-registry.php:62

Used by 0 functions | Uses 2 functions

WP_Block_Styles_Registry::unregister()

Method: Unregisters a block style of the given block type.

Source: wp-includes/class-wp-block-styles-registry.php:110

Used by 0 functions | Uses 3 functions

WP_Block_Styles_Registry::get_registered()

Method: Retrieves the properties of a registered block style for the given block type.

Source: wp-includes/class-wp-block-styles-registry.php:135

Used by 0 functions | Uses 1 function

WP_Block_Styles_Registry::get_all_registered()

Method: Retrieves all registered block styles.

Source: wp-includes/class-wp-block-styles-registry.php:150

Used by 0 functions | Uses 0 functions

WP_Block_Styles_Registry::get_registered_styles_for_block()

Method: Retrieves registered block styles for a specific block type.

Source: wp-includes/class-wp-block-styles-registry.php:162

Used by 0 functions | Uses 0 functions

WP_Block_Styles_Registry::is_registered()

Method: Checks if a block style is registered for the given block type.

Source: wp-includes/class-wp-block-styles-registry.php:178

Used by 2 functions | Uses 0 functions

WP_Block_Styles_Registry::get_instance()

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

Source: wp-includes/class-wp-block-styles-registry.php:191

Used by 5 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