Posted By

juniorgodoi on 11/03/10


Tagged

wordpress magic fields field custom


Versions (?)

Magic Fields - Total fields duplicated


 / Published in: PHP
 

How get total of duplicated fields.

  1. <?php
  2. $fieldName = get_field_duplicate("field_name");
  3. $fieldTotal = count($fieldName);
  4. echo $fieldTotal;
  5. ?>

Report this snippet  

You need to login to post a comment.