index.php 375 B

123456789
  1. <?php
  2. // Only show the region information if the admin is logged in.
  3. if (api_is_platform_admin()) {
  4. echo '<div style="color:black;height:50px;width:200px;background-color:#FFE378">';
  5. //We can have access to the current block and the block information with the variable $plugin_info (see your plugin.php)
  6. echo $plugin_info['current_region'];
  7. echo '</div>';
  8. }