I have a closed thread on this matter, but I need to reopen.
Changing the events title tag in browser – Submissions
It turns out my solution adds the new title to all pages. I need to adjust the function to only display on the submit page and I can not calculate the function on the documentation you have available.
add_filter('the_seo_framework_pre_add_title', 'change_the_title');
function change_the_title() {
return 'Your Custom Title Here';
}
It needs some sort of IF function. The plugin author for SEO Framework suggested something like this, but we simply could not figure it out.
add_filter( 'the_seo_framework_pre_add_title', function( $title = '', $args = array(), $escape = true ) {
if ( tribe_ce_is_submit() ) {
$title = 'Your new Title';
}
return $title;
}, 10, 3 );
Can you assist with completing this somehow?