acf/bidirectional/supported_target_field_types

acf/bidirectional/supported_target_field_types

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.2.0

apply_filters('acf/bidirectional/supported_target_field_types') is found 1 times:

  • /includes/acf-bidirectional-functions.php line 152
     *
     * @return array
     */
    function acf_build_bidirectional_relationship_field_target_args( $results, $options ) {
    	$valid_field_types = apply_filters( 'acf/bidirectional/supported_target_field_types', array( 'relationship', 'post_object', 'user', 'taxonomy' ) );
    
    	$field_groups = array_filter(
    		acf_get_field_groups(),
    		function( $field_group ) {
    			return $field_group['active'];
    		}