WordPress.org

Forums

Extending Plugins, general question (4 posts)

  1. Andrew Bartel
    Member
    Posted 2 years ago #

    So after doing some research it seems that it's impossible to extend the core functionality of plugins w/o hacking the core plugin code assuming no filter is provided.

    http://stackoverflow.com/questions/7503384/wordpress-overriding-a-function-in-a-plugin
    http://wordpress.stackexchange.com/questions/26687/overwrite-a-plugin-function-in-functions-php

    Is this correct? Can you not overwrite in functions.php by extending a class or just outright overwriting a function?

    Sorry if this is obvious. In the testing I did I was unable to override plugin functions from my functions.php.

    Thanks.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    It's going to depend upon the plugin. Some offer hooks & filters that you can use via your theme or an add-on plugin to modify their functionality but, sadly, many do not.

  3. Andrew Bartel
    Member
    Posted 2 years ago #

    Thanks esmi, any experience with extending WordPress e-commerce?

  4. Andrew Bartel
    Member
    Posted 2 years ago #

    Specifically, does anyone have experience extending error checking on checkout?

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.