WordPress Cheat Sheet – Function Reference

WordPress cheat sheet or functions reference help WordPress developers and students who learning to code in WordPress. WordPress cheat sheet help to rapid development of WordPress website. In WordPress files there are many PHP functions defined . Those functions are called template tags.

Some functions are used for developing plugins and some for WordPress core functionalities.

So, the cheat sheet of WordPress functions by category are listed below:

Page, Post, Custom Post Type, Bookmarks and Attachments Functions



Retrieves post data given a post ID or post objects.


It retrieve data from post field based on post ID.


This function iterates the post index in loop.


This function checks that whether current WordPress query has posts to loop over.


Function call wp_write_post and handle errors.


Set up the loop with query parameters.

Share This!

Leave a Reply

Your email address will not be published.