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 terms in a custom taxonomy that already exists.
What I want to do is to be able to save the "Director" and "Actors" information generated by the plugin as taxonomy terms. So for example, the values in the array generated by the
$actors function would be saved as individual terms in my custom taxonomy
This is my current code.
$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 $director = $imdbInfo['director']; // Gets an array of directors
Is it possible to save these values as custom terms?