acf/acf_get_posts/args
acf/acf_get_posts/args
Appears in: advanced-custom-fields.6.3.5
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.3.5apply_filters('acf/acf_get_posts/args') is found 1 times:
- /includes/api/api-helpers.php line 117511711172117311741175117611771178117911801181
* @since 6.1.7
*
* @param
array
$args
The args passed to `get_posts()`.
*/
$args
= apply_filters(
'acf/acf_get_posts/args'
,
$args
);
// Query posts.
$posts
= get_posts(
$args
);
// Remove any potential empty results.
$posts
=
array_filter
(
$posts
);