Skip to content

Instantly share code, notes, and snippets.

@hasinur1997
Last active September 14, 2022 14:20
Show Gist options
  • Save hasinur1997/22a1537530722fff6e51f5876ea6ed2b to your computer and use it in GitHub Desktop.
Save hasinur1997/22a1537530722fff6e51f5876ea6ed2b to your computer and use it in GitHub Desktop.
WordPress Post

Create Post

wp_insert_post();

Get post

get_posts() get_post()

Update Post

wp_update_post()

Delete post

wp_delete_post()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment