fix call_user_func warning
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'WC_Google_Analytics' does not have a method 'google_tracking_code' in /htdocs/wp-includes/plugin.php on line 405 tracking functions were inside of init_form_fields()
This commit is contained in:
parent
6ff4053797
commit
c3fa081a44
|
@ -62,6 +62,8 @@ class WC_Google_Analytics extends WC_Integration {
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
} // End init_form_fields()
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Google Analytics standard tracking
|
* Google Analytics standard tracking
|
||||||
**/
|
**/
|
||||||
|
@ -191,8 +193,6 @@ class WC_Google_Analytics extends WC_Integration {
|
||||||
</script>
|
</script>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
} // End init_form_fields()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue