Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

have_rows count acf php

$numrows = count( get_field( 'field_name', 'post_id' ) );
// post_id isn't need but required in some situations
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #count #acf #php
ADD COMMENT
Topic
Name
8+7 =