Forum Replies Created
Author | Posts |
---|---|
August 13, 2015 at 9:16 pm in reply to:
Overriding 'wp-content/plugins/dokan/classes/ajax.php' ? 66977 | |
David | Thank you Towhid Is there a way I can override one of the functions within ‘wp-content/plugins/dokan/classes/ajax.php’ without hacking the code? Specifically, I would like to override ‘function dokan_pre_define_attribute() {…}’ with my own version. I could simply type over the code in ‘wp-content/plugins/dokan/classes/ajax.php’. But this is not ideal since I would have to re-key my custom code after every Dokan update. I would prefer to override through my child theme, ‘wp-content/themes/dokan-child’. I have tried a function inside my child theme ‘functions.php’ but this is ignored. Is there another way? Or must I hack the code in ‘ajax.php’? Kind regards |
March 27, 2015 at 5:49 am in reply to:
Sign Up / Registration Section Missing 40094 | |
David | Found it! Its the ‘other’ Settings > General; i.e. the settings for WordPress as opposed to Woocommerce or Dokan. These settings are near the bottom of the wp-admin area. Then enable ‘Membership – Anyone can register’. Doh. Feel a bit stupid now. Marking as ‘Resolved’ before anyone notices. Many thanks for your discretion. Mum’s the word. |