acf/fields/post_object/query/name=

acf/fields/post_object/query/name=

Hook Type: filter

See hook in core

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

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

  • /includes/fields/class-acf-field-post_object.php line 160
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    }
     
    // filters
    $args = apply_filters( 'acf/fields/post_object/query', $args, $field, $options['post_id'] );
    $args = apply_filters( 'acf/fields/post_object/query/name=' . $field['name'], $args, $field, $options['post_id'] );
    $args = apply_filters( 'acf/fields/post_object/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