Hooks::filter_events_template_setting_option( string $value )
If we’re using a FSE theme, we always use the full styling.
Topics
Parameters #
- $value
-
(string) (Required) The value of the option.
Return #
(string) $value The original value, or an empty string if FSE is active.
Source #
File: src/Events/Editor/Full_Site/Hooks.php
public function filter_events_template_setting_option( $value ) { return tec_is_full_site_editor() ? '' : $value; }
Changelog #
Version | Description |
---|---|
5.14.2 | Introduced. |