You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wp.posts().create({title: 'Your Post Title',content: 'Your post content',date: newDate("2022-09-01")status: 'scheduled'}).then(function(response){// "response" will hold all properties of your newly-created post,// including the unique `id` the post was assigned on creationconsole.log(response.id);})
The text was updated successfully, but these errors were encountered:
Can I do something like following code ?
The text was updated successfully, but these errors were encountered: