File: wp-includes/class-wp-block-styles-registry.php
-
Class used for interacting with block styles.
-
Registers a block style for the given block type.
-
Unregisters a block style of the given block type.
-
Retrieves the properties of a registered block style for the given block type.
-
Retrieves all registered block styles.
-
Retrieves registered block styles for a specific block type.
-
Checks if a block style is registered for the given block type.
-
Utility method to retrieve the main instance of the class.