SettingsTag

Class. It implements CacheTag.

use Saij\WpAppFramework\Cache\Tag\SettingsTag;

Invalidated when the settings group (a class with #[SettingsGroup] of the same theme or plugin) is saved or deleted.

Constructor

new SettingsTag(string $group)
ParameterTypeDefaultDescription
groupclass-stringrequiredA class with #[SettingsGroup] of the same theme or plugin.

Methods

getGroup()

getGroup(): string

The class of the settings group.

Returns class-string