Hi all,
According to this page,
http://codex.wordpress.org/Pluggable_Functions
if I want to replace a function which is decleared in the wordpress oore files, I need to do this.
if(!function_exists('wp-replacig-function')) {
function wp-replacig-function () {
}
}
So, if the function is in a class, I mean if it is a method, how can I replace it? Actually I'd like to override the only wpdb method.
Do I need to redeclare the entire class?