Skip to content

Commit

Permalink
fix function name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras committed Jul 26, 2022
1 parent bf34c7d commit 3a035bd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -53,7 +53,7 @@ public function get_template_fallback_content( $request ) {
array( 'status' => 400 )
);
}
$template_hierarchy = gutenberg_get_template__hierarchy( $request['slug'] );
$template_hierarchy = gutenberg_get_template_hierarchy( $request['slug'] );
$fallback_template = resolve_block_template( $request['slug'], $template_hierarchy, '' );
return rest_ensure_response( $fallback_template->content );
}
Expand Down

0 comments on commit 3a035bd

Please sign in to comment.