What I am trying to accomplish is placing custom widget on an admin page (edit.php). I tried using these two functions:
Places custom html right below < body > (above all page content)
add_action( 'load-edit.php', 'your_function' );
function your_function() {
include( plugin_dir_path( __FILE__ ) . 'quickpost/quickpost.php');
}
Places custom html below the < footer >
add_action('admin_footer', 'post_add_quickpost');
function post_add_quickpost() {
include( plugin_dir_path( __FILE__ ) . 'quickpost/quickpost.php');
}
Here is were I am trying to place the widget, just above the posts table on the edit.php page. https://i.sstatic.net/ZL1uY.jpg
Is there a way I can specify where to place the code? I would prefer to work with the 'load-edit.php' action, but if that is not possible - it is okay with me. Thanks!