How many clones

Support General How many clones

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18390
    jamesfoskerjamesfosker
    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

    #18394
    Anh TranAnh 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 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.