Im using a theme for vehicle listings and the WPUF Pro plugin for frontend submitting.
WPUF plugin automatically reads the taxonomies of themes post_type (vehicle), but the theme got vehicle (details) options, that plugin cannot handle on save.
I tried to use the hook that weDevs provide in documentation, but no success (and no respond on tickets too).
On Screen Options I can enable the WPUF Custom Field and see the options that I submit on form, but i want to save them as vehicle options (same as I submit a vehicle as admin through dashboard).
theme/function.php
function wpuf_update_vehicle_year( $post_id ) {
$year = get_post_meta( $post_id, 'seek_property_year', true );
update_post_meta( $post_id, 'seek_property_year', $year );
}
add_action( 'wpuf_add_post_after_insert', 'wpuf_update_vehicle_year' );
Any suggestion on how i can pass the custom fields of WPUF to themes post_type options ?