Update API.

This commit is contained in:
Hoang Huu
2019-10-03 15:45:46 +07:00
parent 517d9b2110
commit bbc403b54e
8 changed files with 235 additions and 234 deletions

View File

@@ -54,7 +54,8 @@ class Opalestate_API {
'v1/property.php',
'v1/agent.php',
'v1/agency.php',
'class-api-auth.php'
'class-api-auth.php',
'functions.php'
] );
add_action( 'rest_api_init', [$this,'register_resources'] );
@@ -111,4 +112,4 @@ class Opalestate_API {
}
}
}
}