Get warning message before publishing
-
I would like to add a warning message that pops up before hitting publish on posts. I have looked for plugins, but they all seem to be very outdated. I also found code to add to the functions.php file, but it doesn’t work:
// Adding a WordPress post publishing confirmation message.$c_message=' You’re about to publish this post. Are you sure that it's ready to go?';functionconfirm_publish(){global$c_message;echo'';}add_action('admin_footer','confirm_publish');Is there an easy way to do this? Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Get warning message before publishing’ is closed to new replies.