• I was just wondering if it is possible to override any plugin through your child theme. I’ve noticed you can override woocommerce template files, and other plugins, but is this only something allowed/possible if the plugin author supports it?

    Please let me know, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Dion

    (@diondesigns)

    You’ll need to better explain what you mean by “overriding plugins”, because on the surface, what you’re asking makes no sense. Why try to “override” a plugin when you can deactivate it instead?

    If you’re asking whether it’s possible for a theme to stop a plugin from doing certain things, then yes, it’s possible. Themes have the ability to remove most filter/action hooks set by plugins. However, themes do not have the ability to stop a plugin from replacing “pluggable” WP core functions.

    Thread Starter devmoo

    (@devmoo)

    Hi @diondesigns, thanks for the reply. What I mean is placing the plugin folder from the WP-content folder, into my theme folder and then cherry picking and editing specific .php files from the plugin to a desired result for my theme. You can do this with Woocommerce or Events Calendar Pro for example. I’m assuming the plugin owner needs to allow these types of overrides though.

    Thanks

    It’s 100% individual. Only plugins that are designed to allow it will allow it.

    Plugin files (the functional PHP ones) are not able to be over-ridden in the same way that thmee/child theme files are. The two systems just don’t interact like that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can you override ANY plugin?’ is closed to new replies.