Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
Warning: foreach() argument must be of type array|object, string given in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 813
Popmake_Fields::render_fields( array $values = array() )
Description Description
Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
Warning: foreach() argument must be of type array|object, string given in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 813
Parameters Parameters
- $values
-
(Optional)
Default value: array()
Source Source
File: includes/class-popmake-fields.php
function render_fields( $values = array() ) { foreach ( $this->get_all_fields() as $section => $fields ) { foreach ( $fields as $id => $args ) { $value = isset( $values[ $args['id'] ] ) ? $values[ $args['id'] ] : null; $this->render_field( $args, $value ); } } }
Expand full source code Collapse full source code View on Trac