acf/fields/relationship/query/name=

acf/fields/relationship/query/name=

Hook Type: filter

See hook in core

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

apply_filters('acf/fields/relationship/query/name=') is found 1 times:

  • /includes/fields/class-acf-field-relationship.php line 211
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    }
     
    // filters
    $args = apply_filters( 'acf/fields/relationship/query', $args, $field, $options['post_id'] );
    $args = apply_filters( 'acf/fields/relationship/query/name=' . $field['name'], $args, $field, $options['post_id'] );
    $args = apply_filters( 'acf/fields/relationship/query/key=' . $field['key'], $args, $field, $options['post_id'] );
     
    // get posts grouped by post type
    $groups = acf_get_grouped_posts( $args );
     
    // bail early if no posts