acf/acf_get_posts/args

acf/acf_get_posts/args

Hook Type: filter

See hook in core

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

apply_filters('acf/acf_get_posts/args') is found 1 times:

  • /includes/api/api-helpers.php line 1175
    1171
    1172
    1173
    1174
    1175
    1176
    1177
    1178
    1179
    1180
    1181
    * @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 );