Title: Custom Fields Filter
Last modified: August 22, 2016

---

# Custom Fields Filter

 *  Resolved [benklocek](https://wordpress.org/support/users/benklocek/)
 * (@benklocek)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/custom-fields-filter-1/)
 * Would it be possible to include a filter on $bcd->custom_fields around line 2224
   of ThreeWP-Broadcast.php?
 * I have repeater fields from ACF whose meta_key is dynamically created. I would
   like to filter and add those fields to the whitelist when the post is broadcast.
 * [https://wordpress.org/plugins/threewp-broadcast/](https://wordpress.org/plugins/threewp-broadcast/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [edward_plainview](https://wordpress.org/support/users/edward_plainview/)
 * (@edward_plainview)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/custom-fields-filter-1/#post-5437672)
 * What version of BC are you using? I’ve refactored a lot of code lately and line
   2224 doesn’t exist anymore.
 * But at any rate, have you looked at the include/actions/broadcasting_modify_post.
   php file?
 *  Thread Starter [benklocek](https://wordpress.org/support/users/benklocek/)
 * (@benklocek)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/custom-fields-filter-1/#post-5437720)
 * Looks like I have 6. Someones been BUSY! 😀
 * On 11: In broadcasting_modify_post.php does $broadcasting_data contain the original
   post content?
 * How does one use these actions? Is is just as usual in my plugin or functions.
   php?
 * `add_action('broadcasting_modify_post', 'my_modifying_function');`
 *  Plugin Author [edward_plainview](https://wordpress.org/support/users/edward_plainview/)
 * (@edward_plainview)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/custom-fields-filter-1/#post-5437724)
 * threewp_broadcast_broadcasting_modify_post
 * If you look at the includes/actions/broadcasting_modify_post.php, find the string
 * The BCD contains the ->modified_post object to which you write your changes.
 * which perhaps explains what you need to do, yes?
 *  Thread Starter [benklocek](https://wordpress.org/support/users/benklocek/)
 * (@benklocek)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/custom-fields-filter-1/#post-5437881)
 * Yes, that does the trick.
 * And thanks Edward for your great support (on all support requests for your plugins).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Custom Fields Filter’ is closed to new replies.

 * ![](https://ps.w.org/threewp-broadcast/assets/icon.svg?rev=1013783)
 * [Broadcast](https://wordpress.org/plugins/threewp-broadcast/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/threewp-broadcast/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/threewp-broadcast/)
 * [Active Topics](https://wordpress.org/support/plugin/threewp-broadcast/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/threewp-broadcast/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/threewp-broadcast/reviews/)

## Tags

 * [ACF](https://wordpress.org/support/topic-tag/acf/)
 * [custom fields](https://wordpress.org/support/topic-tag/custom-fields/)

 * 4 replies
 * 2 participants
 * Last reply from: [benklocek](https://wordpress.org/support/users/benklocek/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/custom-fields-filter-1/#post-5437881)
 * Status: resolved