Home › Forums › Backend Issues (wp-admin) › ACF fields in WooCommerce Membership Plans › Reply To: ACF fields in WooCommerce Membership Plans
forbiddenChunk’s link works great for members, but not teams. I tried modifying it to allow adding acf to teams:
$field_groups = array_merge(
acf_get_field_groups( array( 'post_type' => 'wc_membership_plan' ) ),
acf_get_field_groups( array( 'post_type' => 'wc_user_membership' ) ),
acf_get_field_groups( array( 'post_type' => 'wc_memberships_team' ) )
);
.. but this didnt work. any ideas how to allow ACF fields in wp-admin pages for woo teams?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.