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

169
Views
How to get the related Children of a WordPress Category inside the Gutenberg editor?

I want to retrieve all related categories of my parent category in my Gutenberg plugin. I know I can select categories with the getEntityRecords function. However, this function returns only the specific category and not his children, and I don't know how to retrieve the related child.

My current call look like this:

wp.data.select('core').getEntityRecords('taxonomy', 'category', {include: [7], page: 1, per_page: -1});

The ID 7 is from my parent. I want the related child categories.

Greeting

about 4 years ago · Juan Pablo Isaza
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!