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

Support registering shortcode UI for specific post types #277

Merged
merged 1 commit into from
Apr 17, 2015

Conversation

danielbachhuber
Copy link
Contributor

If post_type argument is present and doesn't match get_current_screen(), the shortcode UI won't appear.

Changes behavior to hide Shortcake entirely if there isn't any registered UI.

Fixes #148

If `post_type` argument is present and doesn't match `get_current_screen()`, the shortcode UI won't appear.

Changes behavior to hide Shortcake entirely if there isn't any registered UI.
@danielbachhuber
Copy link
Contributor Author

@mattheu #review?

@danielbachhuber danielbachhuber added this to the v0.3.0 milestone Apr 16, 2015
@mattheu
Copy link
Contributor

mattheu commented Apr 17, 2015

👍

mattheu added a commit that referenced this pull request Apr 17, 2015
Support registering shortcode UI for specific post types
@mattheu mattheu merged commit dd62502 into master Apr 17, 2015
@mattheu mattheu deleted the 148-post-types branch April 17, 2015 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Restrict shortcode UI to specific post types
2 participants