Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

366
Views
What is the meaning of `user=locale` in WordPress?

I'm looking at wp-admin\js\application-passwords.jsand I'm trying to reuse this JS file on the frontend.

But in the code, there's like,

    wp.apiRequest( {
        path: '/wp/v2/users/' + userId + '/application-passwords?_locale=user',
        method: 'POST',
        data: request

What is _locale=user for? Is that for authentication cos I'm looking for a way to send authenticate details to the REST API for each request.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

?_locale=user is used to ensure the user's locale (user's default site language) is respected when a REST API request is handled.

It has no auth params, just the language preferences.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!