I'm using the IMDB Connecter plugin to grab meta data for movies and I'm wondering if I can save some of the information it generates as custom meta data.
Basically, I want to be able to save the "Language" and "Actors" information generated by the plugin in meta fields with the same name so that posts are searchable using these values.
This is how I currently output the data in my single.php file;
$imdb = get_field('imdb_id'); // IMDB movie ID is saved as a custom meta value
$imdbInfo = get_imdb_connector_movie($imdb);
$actors = $imdbInfo['actors']; // Gets an array of actor names
$language = $imdbInfo['languages']; // Gets an array of languages
Is it possible to save these values as custom meta?
Any nudge in the right direction would be most appreciated
update_post_metacodex.wordpress.org/Function_Reference/update_post_meta