# NOT RUN {
update_wp_page(root_url = 'https://domain.com',user = Sys.getenv('username'),
pass = Sys.getenv('password'),
page_id = 123,title_val = 'post title',excerpt_val = 'post excerpt',
fifu_val = 'https://remotesite.com/image.png',
content_val = 'the page content as a string, with wordpress-accepted
<strong>html</strong> (or bbcode!)',
status_val = 'draft',author_val = '2')
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab