<?php
// Avoiding Direct File Access
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * PHP file to use when rendering the block type on the server to show on the front end.
 *
 * The following variables are exposed to the file:
 *     $attributes (array): The block attributes.
 *     $content (string): The block default content.
 *     $block (WP_Block): The block instance.
 *
 * @see https://github.com/WordPress/gutenberg/blob/trunk/docs/reference-guides/block-api/block-metadata.md#render
 */

// Generates a unique id for aria-controls.
$&&&plugin_function_name&&&_unique_id = wp_unique_id( 'p-' ); 

/**
 * Add context 
 *
 * @since    1.0.0
 * @var      array    $&&&plugin_function_name&&&_context
 */
$&&&plugin_function_name&&&_context = $attributes;
?>
 
<div
<?php echo wp_kses_data( get_block_wrapper_attributes() );  ?>
<?php echo wp_kses_data( wp_interactivity_data_wp_context( $&&&plugin_function_name&&&_context ) ); ?>
data-wp-interactive='&&&plugin_file_name&&&'
>
<h2>&&&project_name&&&</h2>
</div>
