Support » Plugin: Testimonials by WooThemes » How to override woothemes_testimonials function?

  • In woothemes_testimonial_template.php the woothemes_testimonials() function is wrapped in a if ( ! function_exists( ‘woothemes_testimonials’ ) ) check … sort of implying that the function can be overridden by the (child)theme (which is something I’m familiar with doing when the code is part of the parent theme.

    Unfortunately plugins load before themes so the function is always defined by the time the theme functions.php file loads.

    Short of creating another plugin and forcing it to load before WooThemes Testimonials is there any way to override this function?


  • The topic ‘How to override woothemes_testimonials function?’ is closed to new replies.