| @@ -703,9 +703,9 @@ | ||
| 703 | 703 | <input type="text" data-is_required="<?php echo esc_attr($is_required); ?>" class="wpsp-form-control" id="Rollno" value="<?php echo esc_attr($stinfo->s_rollno); ?>" name="s_rollno"> |
| 704 | 704 | </div> |
| 705 | 705 | </div> |
| 706 | 706 | <?php |
| 707 | - do_action('wpsp_after_student_school_detail_fields'); | |
| 707 | + do_action('wpsp_after_student_school_detail_fields', isset($stinfo->wp_usr_id) ? $stinfo->wp_usr_id : 0); | |
| 708 | 708 | ?> |
| 709 | 709 | </div> |
| 710 | 710 | <div class=""> |
| 711 | 711 | <button type="submit" class="wpsp-btn wpsp-btn-success" id="studentform"><?php echo esc_html("Update","wpschoolpress");?></button> |