Saving Post Keywords via PHP
-
Is there a simple way to add keywords to a post using PHP?
I have tried this but for some reason it is not working:
$value = "keyword 1, keyword 2"; update_post_meta($post_id, 'ilj_linkdefinition', $value);
I could not find anything online about this.
Love the plugin. Thanks in advance!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Saving Post Keywords via PHP’ is closed to new replies.