Fix "non-static method called statically" notice
This commit is contained in:
parent
d9639947da
commit
e63021a2ca
|
@ -13,7 +13,7 @@ class WC_Shortcodes {
|
|||
/**
|
||||
* Init shortcodes
|
||||
*/
|
||||
public function init() {
|
||||
public static function init() {
|
||||
// Define shortcodes
|
||||
$shortcodes = array(
|
||||
'product' => __CLASS__ . '::product',
|
||||
|
|
Loading…
Reference in New Issue