Advertisement
rikhen

render.php

Jun 23rd, 2025 (edited)
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.66 KB | None | 0 0
  1. <?php
  2.  
  3. /**
  4.  * Office Contact Template.
  5.  *
  6.  * @param array $block The block settings and attributes.
  7.  * @param string $content The block inner HTML (empty).
  8.  * @param bool $is_preview True during AJAX preview.
  9.  * @param int|string $post_id The post ID this block is saved to.
  10.  * @param WP_Block|null $wp_block The WP_Block object.
  11.  * @param array $context Additional context data for the block.
  12.  * @param array $fields The ACF fields for the block.
  13.  */
  14.  
  15. namespace Lichtblick\Theme\Blocks\Office_Contact;
  16.  
  17. use Lichtblick\Theme\Modules\ACF\ACF_Block as Block;
  18.  
  19. $attrs = Block::get_attributes($block, $is_preview);
  20. ?>
  21.  
  22. <section <?= wp_kses_data($attrs); ?>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement