WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Editorial Metadata – Limit user field to specific role

[Resolved] Editorial Metadata – Limit user field to specific role

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Daniel Bachhuber
    Participant

    @danielbachhuber

    Not in the current version, but I’ve just added a filter to our development version where you could modify with something like this:

    add_filter( 'ef_editorial_metadata_user_dropdown_args', efx_editorial_metadata_user_dropdown_args' );
    function efx_editorial_metadata_user_dropdown_args( $args ) {
       $args['include'] = array( 1, 2, 3 );
        return $args;
    }

    The 1,2,3 inside the array would be the users you’d want included.

    jasonfretwell
    Member

    @jasonfretwell

    Hi Daniel! I’m just in the process of looking at your plugin to see if we can use it to manage our online newspaper’s article submission process and this feature is exactly what is needed.

    I’m obviously new to EditFlow, could you possible expand on how/where I would apply the filter you mention above? I’ve pasted the code (with users modified) into my themes functions.php and it breaks the site. I assume I’m not using the development version – is it possible to get this or is there a date when this feature might be included in an official release?

    Thanks!

    Jason

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Editorial Metadata – Limit user field to specific role’ is closed to new replies.