Member Likes (0)
Ok, so I'm making a custom function to post data to a custom table (within the WP DB) on submitting from the post screen. Got it working using a custom meta box and add_action('save_post') but for some reason the table is being populated twice with the same data.
Can anyone suggest the correct way to achieve it? Is there a standard procedure to save data to a custom table (i.e. not wp_postmeta, etc)