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

How to display options justo on posts, that have a common category? #46

Open
seriiserii825 opened this issue May 29, 2019 · 0 comments
Open

Comments

@seriiserii825
Copy link

I write this code
Container::make( 'post_meta', __( 'Icons' ) ) ->show_on_category('leadership') ->add_fields([ Field::make( 'text', 'crb_leadership_icon_class_first', __( 'Icon class' ) ) ->set_required(), Field::make( 'text', 'crb_leadership_icon_class_second', __( 'Icon class' ) ) ->set_required(), ]);

But phpstorm show for me, that method "show_on_category" doesn't exist.

Or this method is for the oldes versions?

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