Configurare il pluginRisolvere CustomPostUnion in un tipo unico
Risolvere CustomPostUnion in un tipo unico
Se c'è un solo tipo aggiunto a CustomPostUnion (es.: solo Post), possiamo fare in modo che i campi che si risolvono in CustomPostUnion si risolvano invece in quel tipo unico.
Per farlo, vai alla pagina delle Impostazioni di Schema Custom Posts e clicca sull'opzione "Use single type instead of union type?":

Ad esempio, se Post è l'unico tipo, il campo customPosts del tipo Root si risolve direttamente in esso:
