We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add_shortcut() only accepts 2 arguments/parameters
add_shortcode( string $tag, callable $callback );
Tutorial has 4 arguments
foreach ( $this->shortcodes as $hook ) { add_shortcode( $hook['hook'], array( $hook['component'], $hook['callback'] ), $hook['priority'], $hook['accepted_args'] ); }
add_action(...) or addfilter(...) lines above it were probably copied/pasted which has 4 and changed to add_shortcode( but add_shortcode() only has 2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
add_shortcut() only accepts 2 arguments/parameters
Tutorial has 4 arguments
add_action(...) or addfilter(...) lines above it were probably copied/pasted which has 4 and changed to add_shortcode( but add_shortcode() only has 2
The text was updated successfully, but these errors were encountered: