diff --git a/plugin-name/includes/class-plugin-name-loader.php b/plugin-name/includes/class-plugin-name-loader.php index 34e180e2d..83ce63c44 100644 --- a/plugin-name/includes/class-plugin-name-loader.php +++ b/plugin-name/includes/class-plugin-name-loader.php @@ -91,7 +91,7 @@ public function add_filter( $hook, $component, $callback, $priority = 10, $accep * @param string $callback The name of the function that defines the shortcode. */ public function add_shortcode( $tag, $component, $callback, $priority = 10, $accepted_args = 1 ) { - $this->shortcodes = $this->add( $this->shortcodes, $tag, $component, $callback); + $this->shortcodes = $this->add( $this->shortcodes, $tag, $component, $callback, $priority, $accepted_args); } /**