MLAOptions::mla_get_data_source() Class doesn't exist
-
Hi David
I’ve noticed that a previously working piece of code to change the captions on gallery items, no longer works for me.
I get a fatal error that warns me the class MLAOptions doesn’t exist, whenever my code runs into:$my_setting = array( 'data_source' => 'inserted_in', 'option' => 'raw' ); $inserted_in = MLAOptions::mla_get_data_source( $item_values['attachment_ID'], 'single_attachment_mapping', $my_setting, NULL ); }
Any idea what could have changed? I thought at first it may have been my plugin loading order, but have tried checking class_exists, hooked into after ‘plugins_loaded’ and it doesn’t seem to exist then either.
Thank you
Neilhttps://www.ads-software.com/plugins/media-library-assistant/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘MLAOptions::mla_get_data_source() Class doesn't exist’ is closed to new replies.