[resolved] How to hide post edit screen languange meta box ? (3 posts)

  1. miguelcortereal
    Posted 2 years ago #

    I need language metabox at post edit screen, hidden from subscribers and contributors users roles in a custom post type.

    Subscribers and contributors have access to backend and to that specific post type to make/edit posts. The content of those posts will be further translated by human translators or editors whoom must have again the language metabox shown.


  2. Chouby
    Plugin Author

    Posted 2 years ago #

    Polylang currently does not support user roles. i.e if a user has the right to edit posts, it has the right to edit them in all languages. If you need this, then you will have to create an extension.

    The metabox is added in the function add_meta_boxes defined at line 241 in admin-filters.php

  3. miguelcortereal
    Posted 2 years ago #

    Thanks Chouby.

    Luckily I didn't have to create an extension for this. I got this working using Adminimize plugin. The specialty of this plugin is exactly hide things at backend by user role.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Polylang
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic