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
|
* Init shortcodes
|
||||||
*/
|
*/
|
||||||
public function init() {
|
public static function init() {
|
||||||
// Define shortcodes
|
// Define shortcodes
|
||||||
$shortcodes = array(
|
$shortcodes = array(
|
||||||
'product' => __CLASS__ . '::product',
|
'product' => __CLASS__ . '::product',
|
||||||
|
|
Loading…
Reference in New Issue