id = $entry_id;
$this->form = $form;
$this->populate_entry_data();
}
/**
* Populate the class with data
*
* @TODO: Abstract this
*
* @return void
*/
public function populate_entry_data() {
global $wpdb;
// return if we populated the already, ensures single db call
if ( $this->form_id ) {
return;
}
$grid_css_added = false;
$grid_css = '';
// Custom allowlist for grid field HTML: wp_kses_post() strips