# ablocks/2.14.0/includes/blocks/atomic-svg/attributes.php

aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder &amp; Animation Builder, version 2.14.0. 16 lines.

- Page: https://pluginprobe.com/plugins/ablocks/2.14.0/code/includes/blocks/atomic-svg/attributes.php
- Raw: https://pluginprobe.com/plugins/ablocks/2.14.0/raw/includes/blocks/atomic-svg/attributes.php
- Modified: 2026-09-08T12:29:06+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/ablocks/2.14.0/code/includes/blocks/atomic-svg/attributes.php#L10-L20`.

```php
<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$attributes = include __DIR__ . '/../atomic-shared/attributes.php';
$attributes['svgCode'] = [ 'type' => 'string', 'default' => '' ];
// The media library file the markup came from, so the picker can show what is
// selected and offer Replace. The markup itself still lives in svgCode — that
// is what makes fill / stroke / currentColor styleable.
$attributes['svgUrl']  = [ 'type' => 'string', 'default' => '' ];
$attributes['svgId']   = [ 'type' => 'number', 'default' => 0 ];

return $attributes;

```
