Home Forums Plugin Support WP User Frontend Pro Regarding dashboard display

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Tareq Hasan 5 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15437

    Christy
    Member

    I would like users who are admins to be able to view all submissions in once screen. Right now they can view the submissions for our two forms separately but only if they are the people who submitted. I want admins to see submissions for both forms from ALL users, not just their own. Is this possible?

    #15444

    Tareq Hasan
    Keymaster
    Post count: 2831

    Yeah, that's possible.

    Just paste this snippet to your themes functions.php
    [php]
    function wpufe_dashboard_show_all_to_admin( $args ) {
    if ( current_user_can( ‘manage_options' ) ) {
    unset( $args[‘author'] );
    }

    return $args;
    }

    add_filter( ‘wpuf_dashboard_query', ‘wpufe_dashboard_show_all_to_admin' );
    [/php]

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Regarding dashboard display’ is closed to new replies.