plugin updates

This commit is contained in:
Tony Volpe
2024-09-17 10:43:54 -04:00
parent 44b413346f
commit b7c8882c8c
1359 changed files with 58219 additions and 11364 deletions

View File

@@ -14,7 +14,6 @@ abstract class AbstractPageTemplate extends AbstractTemplate {
*/
public function init() {
add_filter( 'page_template_hierarchy', array( $this, 'page_template_hierarchy' ), 1 );
add_filter( 'pre_get_document_title', array( $this, 'page_template_title' ) );
}
/**
@@ -48,7 +47,10 @@ abstract class AbstractPageTemplate extends AbstractTemplate {
}
/**
* Filter the page title when the template is active.
* Forces the page title to match the template title when this template is active.
*
* Only applies when hooked into `pre_get_document_title`. Most templates used for pages will not require this because
* the page title should be used instead.
*
* @param string $title Page title.
* @return string