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.11

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

  • /includes/api/api-helpers.php line 1191
    	 * @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 );