This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* ACF Pro repeater field shortcode | |
* | |
* Created by: https://gist.github.com/FranciscoG | |
* Edit by: Caio Santos | |
*/ | |
function my_acf_repeater($atts, $content='') { | |
extract(shortcode_atts(array( | |
"field" => null, |