Title: Errors in code for custom field rendering found
Last modified: November 3, 2018

---

# Errors in code for custom field rendering found

 *  Resolved [andrejm](https://wordpress.org/support/users/andrejm/)
 * (@andrejm)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/errors-in-code-for-custom-field-rendering-found/)
 * Hey! First of all, marvellous plugin.
 * I tried the custom field rendering options and had some hard time making it work.
   I found two errors that gave me some troubles 🙂
 * 1. Error in wcff-builder.php, lines 1442, 1443
    There is a typo – non-existent
   functions `do_filter` used, should be `apply_filters`
 * 2. Error in docs
    See [https://sarkware.com/wc-fields-factory-api/](https://sarkware.com/wc-fields-factory-api/),
   section “Default rendering flow”. In the second code example there is a typo:
 * `add_action( 'wwccpf_after_fields_end', 'wccpf_wrapper_end' );`
 * See the wwccpf instead of wccpf? Tricky one!
 * Can you pls fix that in your next release?

Viewing 1 replies (of 1 total)

 *  [sarkparanjothi](https://wordpress.org/support/users/sarkparanjothi/)
 * (@sarkparanjothi)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/errors-in-code-for-custom-field-rendering-found/#post-10884475)
 * Hi [@andrejm](https://wordpress.org/support/users/andrejm/),
    The first issue
   it should be `do_filter` only this is for developer can change the meta while
   rendering field,
 * The second issue – corrected the spell mistake from out blog. Sorry for that.
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘Errors in code for custom field rendering found’ is closed to new replies.

 * ![](https://ps.w.org/wc-fields-factory/assets/icon-128x128.jpg?rev=2738843)
 * [WC Fields Factory](https://wordpress.org/plugins/wc-fields-factory/)
 * [Support Threads](https://wordpress.org/support/plugin/wc-fields-factory/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-fields-factory/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-fields-factory/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-fields-factory/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [sarkparanjothi](https://wordpress.org/support/users/sarkparanjothi/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/errors-in-code-for-custom-field-rendering-found/#post-10884475)
 * Status: resolved