Repeatable::get_last_field()
Description #
Return last repeatable group.
Source #
File: lib/form/class-repeatable.php
public function get_last_field() {
if ( ! empty( $this->child ) && ! empty( $this->child->fields ) ) {
return $this->child->fields[ $this->total_items ];
}
}
Expand full source code Collapse full source code View on GitHub: lib/form/class-repeatable.php:121
Add your comment