Fix wrong static::SLUG call

This commit is contained in:
Albert Juhé Lluveras 2024-02-27 12:06:27 +01:00
parent 713c43afdb
commit 866c9b913a
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ abstract class AbstractPageTemplate extends AbstractTemplate {
*/
public function page_template_hierarchy( $templates ) {
if ( $this->is_active_template() ) {
array_unshift( $templates, static::SLUG );
array_unshift( $templates, self::SLUG );
}
return $templates;
}