Custom Fields
Re-Envisioned
Support General How many clones

  • Creator
    Topic
  • #18390
    jamesfosker
    Participant

    I’m building a gallery module for Divi using group meta-boxes, I need to be able to add a data-set value for how many clones I have on that specif post, is there a way to to get the number of clones on each post

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #18394
    Anh Tran
    Keymaster

    Hi James,

    I think you can do that by using JS to count the rwmb-clone elements. Or if you use PHP, you can get via count( $field_value ) (as the value of a cloneable field is an array).

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.