Gets all element values set for the submission.
Description
The returned element values data array is an multi-dimensional associative array where the keys are element IDs and their inner keys field slugs belonging to the element with the actual value for the element and field combination as value.
See also
Return
(array) Element values data set for the submission.
Source
File: src/db-objects/submissions/submission.php
public function get_element_values_data() { if ( ! $this->primary_property_value() ) { return array(); } if ( ! isset( $this->element_values ) ) { $this->element_values = $this->manager->get_element_values_data_for_submission( $this ); } return $this->element_values; }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |