Most solutions I found are for front-end use. This is for a plugin, so the all activity is in the back-end.
How do I get the page ID that's being currently use(edited) in the admin?
Note I'm out of the loop. I just need to get the ID of page(not posts) that I'm currently seeing in the back-end.
wp-admin/post.php?post=14&action=edit