Custom Fields as Post Type Options

Your code… 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’ ); is probably executed, but nothing will change anyway because the thing it does is to grab meta data (with get_post_meta) for seek_property_year and then update the same meta data with the … Read more

WordPress hook source

The short answer is: There is no code that’s being excuted The long answer is: You are suppose to define that code in your own plugin space. You add a activated_plugin hook and within the callable function you specify you define the things you want to happen when your plugin is actived, ie: create database, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)