Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

jankowski on "Manual update of post"

$
0
0

Could someone direct me towards the source code (or the function itself) that takes care of updating a post when the "Update Page" button is clicked on the page/post editor? I'm creating a page manually using a PHP script and wp_insert_post(), and the security settings that I've set using the plugin User Access Manager are not being applied. They are applied, however, when I go to the page editor and simply click the "Update Page" button. I would just like the code to do this instead of the WordPress interface.

Unfortunately, including wp_update_post() or wp_publish_post in my code hasn't worked thus far. Would any of you happen to know the function that is called when that button is pressed?

Thanks so much, and apologies if this is the wrong forum!


Viewing all articles
Browse latest Browse all 8245

Trending Articles