Update API

This commit is contained in:
Hoang Huu
2019-10-01 15:57:58 +07:00
parent ff39207b86
commit d5bb6abe51
5 changed files with 41 additions and 18 deletions

View File

@@ -191,4 +191,4 @@ abstract class Base_API {
private function invalid_key() {
return new WP_Error( 'rest_forbidden', esc_html__( 'Invalid API key!' ), array( 'status' => rest_authorization_required_code() ) );
}
}
}