wpseek.com
A WordPress-centric search engine for devs and theme authors



_wp_get_presets_class_name › WordPress Function

Since6.2.0
Deprecatedn/a
_wp_get_presets_class_name ( $block )
Access:
  • private
Parameters:
  • (array) $block Block object.
    Required: Yes
Returns:
  • (string) The unique class name.
Defined at:
Codex:

Get the class name used on block level presets.



Source

function _wp_get_presets_class_name( $block ) {
	return 'wp-settings-' . md5( serialize( $block ) );
}