woof_seo_meta_title
Filters the HTML <title> meta tag content during active filter searches, allowing customization of the browser/document title on SEO-filtered pages.
Parameters
$title (string) — The meta title text after replacing variables from the SEO rule configuration
Source File
ext/url_request/classes/seo.php:139
140
166
182
193
Code Example
add_filter('woof_seo_meta_title', function($title) {
return wp_strip_all_tags($title) . ' | My Store';
});
Usage Notes
- Called in 5 locations: ajax_page_title(), meta_head() (commented out), pre_get_document_title(), set_title().
- One occurrence (line 139) is commented out in favor of the active line 140 (same hook in ajax_page_title).
- The value is passed through $this->replace_vars() before the filter, supporting placeholders like {site_name}.