Toolset Auto Populate Title with User’s Name & Date

//////// // Display Current Date add_shortcode('wpv-post-today', 'today_shortcode'); function today_shortcode() { return date( 'F j, Y', current_time( 'timestamp' )); } ///////////// // Auto Populate Title add_action('cred_submit_complete', 'auto_populate_title',10,2); function auto_populate_title($post_id, $form_data){ //…

Continue Reading Toolset Auto Populate Title with User’s Name & Date

Toolset Auto Login

////////// //Auto log-in new user add_action( 'cred_save_data', 'tssupp_cred_autologin', 10, 2 ); function tssupp_cred_autologin( $post_id, $form_data ){ if ( 123 == $form_data['id'] ) { /// Replace 123 with your form ID…

Continue Reading Toolset Auto Login