# powerkit/2.4.4/modules/pinterest/public/block/render.php

Powerkit – Supercharge your WordPress Site, version 2.4.4. 22 lines.

- Page: https://pluginprobe.com/plugins/powerkit/2.4.4/code/modules/pinterest/public/block/render.php
- Raw: https://pluginprobe.com/plugins/powerkit/2.4.4/raw/modules/pinterest/public/block/render.php
- Modified: 2020-12-30T06:28:26+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/powerkit/2.4.4/code/modules/pinterest/public/block/render.php#L10-L20`.

```php
<?php
/**
 * Pinterest Board block template
 *
 * @var        $attributes - block attributes
 * @var        $options - layout options
 *
 * @link       https://codesupply.co
 * @since      1.0.0
 *
 * @package    PowerKit
 * @subpackage PowerKit/templates
 */

$attributes['className'] .= ' pinterest-board-wrapper';

?>

<div class="<?php echo esc_attr( $attributes[ 'className' ] ); ?>" <?php echo ( isset( $attributes[ 'anchor' ] ) ? ' id="' . esc_attr( $attributes[ 'anchor' ] ) . '"' : '' ); ?>>
    <a href="<?php echo esc_url( $attributes['href'] ); ?>" data-pin-do="embedBoard" data-pin-board-width="100%"></a>
</div>

```
