Metabox for selecting another post
-
I’m building a metabox where I can select a bunch of other posts as “related posts” or something similar. I hit me that a perfect form for this is already available for e.g. adding a page to a menu. It has 3 tabs with the “most recent”, “all” and “search”.
I would like to apply this form in my metabox for finding posts of a custom post type and have my own callback for what happens when I have selected a post here.Something like do_that_magic_search_form(‘my-post-type’, ‘my own callback’);
Is this possible or do I have to invent this wheel again?
- The topic ‘Metabox for selecting another post’ is closed to new replies.