Setting the link through SQL or a PHP function
-
I’m currently writing a script to create a series of posts in WP.
I want them to redirect to a speciffic URL with Page Links To, but I don’t know how to set the link without having to open every single post and setting it with the plug-in GUI.
Is there a programmatic way of setting the link from outside the post editor?
Many thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Setting the link through SQL or a PHP function’ is closed to new replies.