Skip to content

Commit

Permalink
Update template list
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0ttkclark committed Sep 5, 2024
1 parent 08b47be commit 1926f14
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/Templates/Templates.php
Original file line number Diff line number Diff line change
Expand Up @@ -646,10 +646,10 @@ public static function template( $template_name, $code = null, $obj = null, $dep
}
} elseif ( $template_name == trim( preg_replace( '/[^a-zA-Z0-9_\-\/]/', '', $template_name ), ' /-' ) ) {
$default_templates = array(
'pods/templates/' . $template_name,
'pods/' . $template_name,
'pods-' . $template_name,
$template_name,
'pods/templates/' . $template_name . '.php',
'pods/' . $template_name . '.php',
'pods-' . $template_name . '.php',
$template_name . '.php',
);

$default_templates = apply_filters( 'pods_template_default_templates', $default_templates );
Expand Down

0 comments on commit 1926f14

Please sign in to comment.