Viewing 1 replies (of 1 total)
  • Plugin Author Markus Wiesenhofer

    (@markusfroehlich)

    Hello,
    you can do this with the following filter in your functions.php.

    
    add_filter('wpcf7_you_tag_get_posts', 'wpcf7_you_tag_get_posts_by_current_user');
    
    function wpcf7_you_tag_get_posts_by_current_user( $post_args )
    {
    $post_args['author'] = get_current_user_id();
    
    return $post_args;
    }
    

    Best regards
    Markus

Viewing 1 replies (of 1 total)
  • The topic ‘Filter Based On Users’ is closed to new replies.