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.5

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

  • /includes/fields/class-acf-field-relationship.php line 339
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
            $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;
    }