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

Feature request: mlp_allowed_object_taxonomies #282

Closed
luisarn opened this Issue Sep 2, 2017 · 2 comments

Comments

3 participants
@luisarn

luisarn commented Sep 2, 2017

I would like to be able to disable the translation select box for certain taxonomies.

By default MLP loads all the taxonomies registered to the allowed post types and doesn't have a filter to change it.

I modified the Mlp_Term_Translation_Controller.php line 181 from:

return get_object_taxonomies( $post_types );

to:

return apply_filters( 'mlp_allowed_object_taxonomies', get_object_taxonomies( $post_types ) );

Hope you can include this into the next release.

Best regards,
Luis

@tfrommen

This comment has been minimized.

Show comment
Hide comment
@tfrommen

tfrommen Sep 4, 2017

Contributor

Hi Luis,

thanks for the issue. This has already been implemented for the next major version, but sure, we can add it for 2.x as well.

Cheers,
Thorsten

Contributor

tfrommen commented Sep 4, 2017

Hi Luis,

thanks for the issue. This has already been implemented for the next major version, but sure, we can add it for 2.x as well.

Cheers,
Thorsten

Dinamiko added a commit that referenced this issue Sep 4, 2017

@tfrommen

This comment has been minimized.

Show comment
Hide comment
@tfrommen

tfrommen Sep 14, 2017

Contributor

Implemented in 68b0e9b.

Contributor

tfrommen commented Sep 14, 2017

Implemented in 68b0e9b.

@tfrommen tfrommen closed this Sep 14, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment