Instantly share code, notes, and snippets.
Works like a charm! :) Yuo saved me countless hours of work, exporting 22.000 entries to tags...
This plugin is awesome but requires admin to save. Do you have a way to make this work for anytime a post is published. I am using autoblogged and it doesn't trigger this plugin.
Also, how would you modify it so it works with multiple fields.
It should get triggered if your auto blogger is using wp_insert_post. to make it work with multiple fields, just loop in the wpse29498_save_post function.
foreach($meta_fields as $meta_key)
// check like agove, but use continue instead of return
hello could you tell me how to make it work for all custom fields, so that it would add each field's value to new tag. Not just one field and one tag. Thank you.