Home Forums Plugin Support WP User Frontend Pro I need that dashboard show all post for administrator

This topic is: not resolved

This topic contains 1 reply, has 1 voice, and was last updated by  Gabriela 3 years, 10 months ago.

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

    Gabriela
    Member
    Post count: 1

    Good evening , I need you to type the Administrator user is displayed on the dashboard all posts by all users including, I used this feature and only shows some post … Not all

    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' );

    #54512

    Gabriela
    Member
    Post count: 1

    Hello again, let me rephrase again: I have a problem with the dashboard where I created 10 categories, 8 of them are to be posted from the subscribers and admin and 2 of them just from the admin. When I place the above function, I dont get the post from the to categories exclusive for admin in the admin dashboard.

    Thank you in advanced for any assistance provided by you as soon as possible.

    Gabriela

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

The topic ‘I need that dashboard show all post for administrator’ is closed to new replies.