I know there are two hooks to add content before and after a taxonomy wp-list-table.
Is there an action to add content after the post type wp-list-table on the edit.php page?
For $taxonomy List Tables:
add_action( 'category' . '_pre_add_form', 'copy_above_form' );
function copy_above_form( $taxonomy ) {
echo '<p>Above the WP-List-Table</p>';
}
add_action( 'after-' . 'category' . '-table', 'copy_below_table' );
function copy_below_table( $taxonomy ) {
echo '<p>Below the WP-List-Table</p>';
}
Reference: https://trepmal.com/action_hook/after-category-table/
Thanks!
This has probably been solved many times here on this site, but maybe not with all your requirements? So let me try to answer it here:
You can try to use the
all_admin_notices
andin_admin_footer
actions, wrapped inside theload-edit.php
action to target theedit.php
page:This will render like the following screenshots:
Before:
After:
You can then easily modify this to target the
edit.php
screen for different custom post types.Hope this helps.