Hi,

Is there some method to add keywords to a new node when create it from php code? I have searched and didn't find any sample about it. Could you help to solve it?

Thank you very much.

Comments

Anonymous’s picture

Status: Active » Fixed

Providing the correct parameters, it's enough to call nodewords_save_tags(), which is present in the latest releases of the project.

JThan’s picture

Are the correct parameters ($tags and $options) documented somewhere?

Anonymous’s picture

They are documented in the code.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.