if(
            isset($content_struct["wp_author_id"])
            && ($user->ID != $content_struct["wp_author_id"])
        ) {
            switch($post_type) {