How to Override a Pluggable Function

Wrap it in a function_exists check:

if( ! function_exists('some_pluggable_function') ) {
    function some_pluggable_function()
    }
}

Leave a Comment