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



wp_get_elements_class_name › WordPress Function

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

Get the elements class names.



Source

function wp_get_elements_class_name( $block ) {
	return 'wp-elements-' . md5( serialize( $block ) );
}