Hi,
I have created a custom field checkbox and trying to get a handle on entry objects where custom field is true,
MT::Entry allows load with default fields, foe eg. MT::Entry->load({ title => "New Title"});
I need something like MT::Entry->load({ my_custom_field => "VALUE"});
How to achieve this?
Any help is highly appreciated.
Got it:
@entry = MT::Entry->search_by_meta('field.', '');
I was trying this previously too, but apparently unless you create an instance of MT "my $mt = MT->instance();" - object.pm throws error