acf/fields/post_object/query
acf/fields/post_object/query
Appears in: advanced-custom-fields.6.2.1
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.2.1apply_filters('acf/fields/post_object/query') is found 1 times:
- /includes/fields/class-acf-field-post_object.php line 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 );