Gravity Forms – RMA Count

One way to achieve that is to use the gform_pre_render hook. I once did something similiar to this on a real site. add_action( ‘gform_pre_render’, ‘show_content_before_fields’ ); function show_content_before_fields( $form ) { $custom_field = new GF_Field_HTML(); // temporary field object to hold our custom html $custom_field->id = 0; // maybe unnecessary, can’t remember if really needed … Read more

Dynamically add a unique number/identifier at the end of post titles

You will need to leverage the post_updated hook API of WordPress // You will need to leverage the <code>save post</code> hook API of WordPress add_action( ‘post_updated’, ‘save_post_callback’, 10, 3 ); //add_action(‘save_post’, ‘save_post_callback’); function save_post_callback($post_ID, $post_after, $post_before){ global $post; if ($post->post_type != ‘page’){ return; } // If you get here then it’s your post type so … Read more

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