Tribe__Tickets__Attendee_Registration__Template::modify_page_title( string $title )
Modify the document title
Contents
Parameters
- $title
-
(string) (Required) The page title.
Return
(array)
Source
File: src/Tribe/Attendee_Registration/Template.php
public function modify_page_title( $title ) {
// When in the loop, no need to override titles.
if ( in_the_loop() ) {
return $title;
}
if ( $this->is_on_ar_page() ) {
$title['title'] = $this->get_page_title();
}
// Return the title
return $title;
}
Changelog
| Version | Description |
|---|---|
| 4.9 | Introduced. |