Skip to content
New issue

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

Adding "10up Suggested" tab to plugin page using action instead of filter #28

Closed
morganestes opened this issue Aug 17, 2018 · 0 comments

Comments

@morganestes
Copy link
Contributor

It's a minor point since technically it works to use add_action() instead of add_filter(), but 'install_plugins_tabs' isn't an action hook, so the plugin should use
add_filter( 'install_plugins_tabs', __NAMESPACE__ . '\tenup_plugin_install_link' ); instead of add_action() on https://github.com/10up/10up-experience/blob/develop/includes/plugins.php#L56.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant