Tag Info

New answers tagged

0

Use filter content_save_pre exactly like the_content -- the difference is that it operates when a post is saved, rather than displayed. http://codex.wordpress.org/Plugin_API/Filter_Reference/content_save_pre


0

Autosave is in your way. How to properly turn off REVISIONS and AUTOSAVE for whole site and optionally for a custom post type only (I would have simply left a comment but I lack the cred.)


0

Okay got the issue, here is the complete code that is saving data. The issues are explained at the bottom: /** * Adds a box to the main column on the Post and Page edit screens. */ function nss_mood_add_meta_box() { //$id, $title, $callback, $post_type, $context,$priority, $callback_args add_meta_box('nss_mood_id','Set your ...


0

The easiest - in my mind - way to achieve this, is to make use of PHP: Sessions, so the $_SESSION global or some thing like »WP Session Manager«. When using sessions you can just add your post data to the session variable before redirecting and have the data available after the redirect.



Top 50 recent answers are included