Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Add filter to add a certain fieldtype in the Easy ACF Connect for Beaver Builder plugin
- */
- add_filter( 'easy_acf_accepted_acf_field_types' , 'add_my_custom_field_type' );
- function add_my_custom_field_type( $fieldtypes ) {
- $fieldtypes[] = array(
- 'name' => 'civicrm_relationship', // fieldtype as registered in ACF
- 'label' => __( 'CiviCRM Relationship' , 'text-domain' ),
- );
- return $fieldtypes;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement