Making a custom admin UI for browsing posts is hard
|Reported by:||ericlewis||Owned by:|
|Component:||Posts, Post Types||Keywords:||needs-patch|
If you want to use a custom UI for browsing posts instead of using the core default WP_List_Table UI, the options you have are hacky at best.
There is no short-circuit hook in wp-admin/edit.php, nay, not even a single hook within the main 'div.wrap' to afford developers to output their markup. This seems like it might be the most straight-forward, familiar option, a la the short-circuit filters in shortcodes.
List Table Factory is not pluggable (#18449), which might've been a hacky option to stuff markup into a custom WP_List_Table object.
We do have the 'load-edit.php' hook, in which we can sniff the $_REQUEST, and stuff a copy of the entirety of wp-admin/edit.php into. This is our first option that could work, but woah that's hacky.
Change History (5)
- Component changed from Administration to Posts, Post Types
- Focuses administration added
comment:4 @wonderboymusic — 8 months ago
- Keywords dev-feedback removed
- Milestone changed from Awaiting Review to Future Release