Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

173
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda