How to override default options?
-
First of all, I think this plugin is wonderfully designed. Thanks for a wonderful job and for sharing!
What I want to do here is necessary only because I am trying to use TML along with BuddyPress, which has some overlapping functionalities.
I would like to override the following options in class Theme_My_Login_Template
‘show_log_link’ => false,
‘show_reg_link’ => false,I don’t suppose I should modify the original code? I am a beginner WP developer. So this is an opportunity for me to learn more about the system.
Since the class is defined with “if( ! class_exist”, I tried to override it in my theme/functions.php and failed. I presume that plugins are loaded before themes?
I noticed that WP provides a editor tool for plugins, but my questions is that wouldn’t the changes get lost once the plugin gets updated?
This seems like a common problem but somehow I can’t find a answer online. So, please help out.
- The topic ‘How to override default options?’ is closed to new replies.