ExpressionEngine 2024 Quarter 1 Review Quarter 1 Review
You can use the ChannelEntry model pretty easily for this:
$entry_id = 123;
$entry_object = ee('Model')
->get('ChannelEntry')
->filter('entry_id', $entry_id)
->first();
$field_data = $entry_object -> field_id_5;
where the custom field you’re looking for in this case has an ID of #5. These examples taken from https://docs.expressionengine.com/latest/development/models/channel-entry.html
I also cannot solve this problems until I read your post. It is so beneficial. Luv all. geometry dash scratch
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.