Skip to content

Commit 201fc14

Browse files
committed
Fixed callback for shortcode.
1 parent e8c38d4 commit 201fc14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SimplePagesPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public function hookUpgrade($args)
162162
public function hookInitialize()
163163
{
164164
add_translation_source(dirname(__FILE__) . '/languages');
165-
add_shortcode('simple_pages', 'SimplePagesPlugin::shortcodeSimplePages');
165+
add_shortcode('simple_pages', array($this, 'shortcodeSimplePages'));
166166
}
167167

168168
/**

0 commit comments

Comments
 (0)