I trying to get the $record->get('meta')
in my custom Elementor Form Widget Action, but its returns empty array, is there a way to get the meta data?
Besides, all other action record such as $record->get('form_settings')
and $record->get('fields')
return a normal values, so only the issue in $record->get('meta')
which return empty array.
The relevant part of my code:
class Custom_action extends ElementorProModulesFormsClassesAction_Base
{
public function run( $record, $ajax_handler )
{
$settings = $record->get('form_settings');
$raw_meta = $record->get('meta'); //RETURN EMPTY ARRAY
$meta = [];
foreach ($raw_meta as $meta_id => $meta)
{
$meta[$meta_id] = $meta['value'];
}
other code...
}
other functions...
}