For some reasons I´m using get_post_ancestors()
to display parent pages.
In my theme, I wish for my custom post type choose a simple page in the parent page combobox.
By default my custom post type whith set hierachical to true will show only post with the same post type in the parent page combobox.
So, I would like to overwrite the function wich list the parent page options for the combobox to add pages in this list.
I mean in the custom post type editor on admin side :
I know there is a way to get parent with a custom metabox like in this tutorial; but I would like avoid doing this and juste change the basic parent combobox.
How can I do this ?
Is there a specific hook for that ?
- Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
- Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
- Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.
Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com