wp_get_elements_class_name() – Get the elements class names.

You appear to be a bot. Output may be restricted

Description

Get the elements class names.

Usage

$string = wp_get_elements_class_name( $block );

Parameters

$block
( array ) required – Block object.

Returns

string The unique class name.

Source

File name: wordpress/wp-includes/block-supports/elements.php


Lines:

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

 View on GitHub View on Trac