Core override how?
-
Hello,
i want to override the um-fields.php in the core folder to add
if($array['required'] == 1) { $array['classes'] .= ' um-is-required'; } else if($array['required'] == 0) { $array['classes'] .= ' um-not-required'; }
on line 612.
I want to use an override file that i am able to update ultimate member without having problems with my changes.
The problem is now, i tried it in
wp-content/themes/mytheme/ultimate-member/core/um-fields.php
and
wp-content/themes/mytheme/plugins/ultimate-member/core/um-fields.php
but its not loaded.How to override this correctly?
Thank you very much in advance!
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Core override how?’ is closed to new replies.