Tribe__Events__Community__Integrations__Divi::on_pre_get_document_title( string $unused_filter_value )

Fires when the pre_get_document_title filter hook is triggered.

Does not actually act on the filtered value, it’s passed through without being modified: this is just a convenient point in time to decide whether we need to take further corrective action or not.


Parameters

$unused_filter_value

(string) (Required)


Top ↑

Return

(string)


Top ↑

Source

File: src/Tribe/Integrations/Divi.php

	public function on_pre_get_document_title( $unused_filter_value ) {
		// Protect against a notice level error that can be triggered when Divi is active
		// and /community/events/add/ is accessed
		if ( tribe_is_community_edit_event_page() ) {
			$this->override_divi_seo_single_field_title_option();
		}

		return $unused_filter_value;
	}

Top ↑

Changelog

Changelog
Version Description
4.5.10 Introduced.