Hi
Steps:
Login as Instructor --> Go to Add/Edit Course --> Click Set Curriculum --> Go to Settings --> Access Date & Time --> Both fields takes any format/numbers/junk characters
Solution: date"/> and readonly for time.
So I want to rewrite below function. Could you pls suggest the best way for this type of changes without loosing updates.
Plugins \vibe-customtypes\includes\WPLMS_tips.php
Line 80: add_action('wplms_front_end_unit_settings_form',array($this,'show_date_time_field'),10,1);
Line 1734: show_date_time_field($unit_settings){
@bhavindersingh,
You can create a new function and use this hook to implement this function.
To prevent your customization from losing, paste this code in wp-admin > Plugins > Editor > Select WPLMS Customizer Plugin > wplms-customizer.php
I tried the hoke but notable to resolve that the reason i am asking you for proper way-out.
I trace down more then found that function using class.generate_fields.php. I am looking at wrong place. Sorry for Inconvenience.
Is there any way to overwrite this file function.
Hi,
You can overwrite this function by redefine it in functions.php file.
Write code in functions.php file.
Hi,
Closing this topic as your issue is resolved.