Hooks::filter_events_template_setting_option( string $value )

If we’re using a FSE theme, we always use the full styling.


Parameters #

$value

(string) (Required) The value of the option.


Top ↑

Return #

(string) $value The original value, or an empty string if FSE is active.


Top ↑

Source #

File: src/Events/Editor/Full_Site/Hooks.php

	public function filter_events_template_setting_option( $value ) {
		return tec_is_full_site_editor() ? '' : $value;
	}

Top ↑

Changelog #

Changelog
Version Description
5.14.2 Introduced.