# blocks/trunk/src/Settings/PublicTokenRegistry.php

Blocks – Reusable Content, Shortcodes &amp; Site Variables, version trunk. 40 lines.

- Page: https://pluginprobe.com/plugins/blocks/trunk/code/src/Settings/PublicTokenRegistry.php
- Raw: https://pluginprobe.com/plugins/blocks/trunk/raw/src/Settings/PublicTokenRegistry.php
- Modified: 2026-07-13T20:34:48+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/blocks/trunk/code/src/Settings/PublicTokenRegistry.php#L10-L20`.

```php
<?php

declare(strict_types=1);

namespace RenzoJohnson\Blocks\Settings;

\defined( 'ABSPATH' ) || exit;

final class PublicTokenRegistry {
	/** @var array<string, string> */
	private const TOKENS = array(
		'blocks_favicon'              => 'favicon_url',
		'blocks_logo'                 => 'logo_url',
		'blocks_logo_inverse'         => 'logo_inverse_url',
		'blocks_default_social_image' => 'social_image_url',
		'blocks_place_id'             => 'place_id',
		'blocks_ga4_measurement_id'   => 'ga4_measurement_id',
		'blocks_site_title'           => 'site_title',
		'blocks_tagline'              => 'tagline',
		'blocks_company_name'         => 'company_name',
		'blocks_email'                => 'email',
		'blocks_phone'                => 'phone',
		'blocks_address'              => 'address',
		'blocks_facebook'             => 'facebook',
		'blocks_twitter'              => 'twitter',
		'blocks_instagram'            => 'instagram',
		'blocks_linkedin'             => 'linkedin',
		'blocks_youtube'              => 'youtube',
	);

	/** @return array<string, string> */
	public static function all(): array {
		return self::TOKENS;
	}

	public static function for_option( string $option_name ): ?string {
		return self::TOKENS[ $option_name ] ?? null;
	}
}

```
