Title: Bug report: /wcff-builder.php uses incorrect function
Last modified: April 5, 2018

---

# Bug report: /wcff-builder.php uses incorrect function

 *  [adriantrimble](https://wordpress.org/support/users/adriantrimble/)
 * (@adriantrimble)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/bug-report-wcff-builder-php-uses-incorrect-function/)
 * When using the API hooks (wccpf_before_field_rendering and awccpf_after_field_rendering)
   we get an error Undefined function “do_action” on lines 1356 & 1357 of wcff-builder.
   php.
 * This is fixed by using the correct function “apply_filters” instead of “do_action”.
 * Please fix this in the next version of the plugin.

The topic ‘Bug report: /wcff-builder.php uses incorrect function’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [adriantrimble](https://wordpress.org/support/users/adriantrimble/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/bug-report-wcff-builder-php-uses-incorrect-function/)
 * Status: not resolved