Title: New cfs_pre_render_fields function
Last modified: August 20, 2016

---

# New cfs_pre_render_fields function

 *  Resolved [Josh Levinson](https://wordpress.org/support/users/joshlevinson/)
 * (@joshlevinson)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/new-cfs_pre_render_fields-function/)
 * I love the idea behind your cfs_pre_render_fields function in 1.8.8.
    However,
   it fell a little short of how far I was hoping it would allow me to extend CFS.
   I was hoping to use it so that I could run through the actual items of each field
   for each post, and filter those. For example, I have a site where posts have 
   a user field. I want to restrict which users appear in that field by which user
   role the logged in user is. I.e. admins can access all users in that list, contributors
   can only access certain users. I am currently doing this through jquery, but 
   I would LOVE the ability to do this by using a filter. Any pointers, or would
   you consider extending CFS to allow for this?
 * [http://wordpress.org/extend/plugins/custom-field-suite/](http://wordpress.org/extend/plugins/custom-field-suite/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Matt Gibbs](https://wordpress.org/support/users/mgibbs189/)
 * (@mgibbs189)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/new-cfs_pre_render_fields-function/#post-3583828)
 * FYI – here’s the response: [https://github.com/mgibbs189/custom-field-suite/issues/107](https://github.com/mgibbs189/custom-field-suite/issues/107)

Viewing 1 replies (of 1 total)

The topic ‘New cfs_pre_render_fields function’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-field-suite.svg)
 * [Custom Field Suite](https://wordpress.org/plugins/custom-field-suite/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-field-suite/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-field-suite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-field-suite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-field-suite/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Matt Gibbs](https://wordpress.org/support/users/mgibbs189/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/new-cfs_pre_render_fields-function/#post-3583828)
 * Status: resolved