I am building a plugin for Wordpress that saved custom data to a custom table every-time a user makes a new post. When I add data to a custom table in wordpress after the publish_post hook is called I am trying to echo the row ID in Chrome's console.
The problem as I see it is that publishing a post on wordpress calls the save_post function and once the post is made it redirects to the post page.
So it is obvious that the echo would not display on the screen but is there a way for these echo's to display in Chrome's console?