acf/fields/relationship/result

acf/fields/relationship/result

Hook Type: filter

See hook in core

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

apply_filters('acf/fields/relationship/result') is found 1 times:

  • /includes/fields/class-acf-field-relationship.php line 328
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
            $title = '<div class="' . $class . '">' . $thumbnail['html'] . '</div>' . $title;
        }
     
        // filters
        $title = apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id );
        $title = apply_filters( 'acf/fields/relationship/result/name=' . $field['_name'], $title, $post, $field, $post_id );
        $title = apply_filters( 'acf/fields/relationship/result/key=' . $field['key'], $title, $post, $field, $post_id );
     
        // return
        return $title;
    }