feat add funciton `tainacan_metadata_sections` #184

This commit is contained in:
vnmedeiros 2022-07-29 11:29:49 -03:00
parent a673b22a28
commit ca3ab329d6
1 changed files with 9 additions and 0 deletions

View File

@ -71,3 +71,12 @@ function tainacan_terms() {
function tainacan_roles() { function tainacan_roles() {
return \Tainacan\Roles::get_instance(); return \Tainacan\Roles::get_instance();
} }
/**
* Retrieve the singleton Metadata Repository instance
* @return \Tainacan\Repositories\Metadata The Tainacan Metadata Repository
*/
function tainacan_metadata_sections() {
return \Tainacan\Repositories\Metadata_Sections::get_instance();
}