WordPress | get_registered_nav_menus() function

By Editorial Staff in WordPress Functions. Updated on


The get_registered_nav_menus() is the WordPress builtin function to retrieves all registered navigation menu locations in a theme. WordPress get_registered_nav_menus() function example 2. WordPress get_registered_nav_menus() function example 3. WordPress get_registered_nav_menus() function example

WordPress | clean_post_cache() function

By Editorial Staff in WordPress Functions. Updated on


The check_and_publish_future_post() is the WordPress builtin function to clean the post in the cache. This function not run if $_wp_suspend_cache_invalidation is not empty. Cleaning means delete from the cache of the post. Will call to …

WordPress | check_and_publish_future_post() function

By Editorial Staff in WordPress Functions. Updated on


The check_and_publish_future_post() is the WordPress builtin function to publish future post and make sure post ID has future post status. WordPress check_and_publish_future_post() function invoked by cron ‘publish_future_post’ event. This safeguard prevents cron from publishing drafts, …

WordPress get_lastpostmodified() Function

By Prem Tiwari in WordPress Functions. Updated on


The get_lastpostmodified() is a WordPress builtin function to get the most recent time that a post on the site was modified. It will return the timestamp in ‘Y-m-d H:i:s’ format. The server timezone is the …

WordPress add_meta_box() Function

By Prem Tiwari in WordPress Functions. Updated on


The add_meta_box() is a WordPress builtin function which adds a meta box to one or more screens. Syntax: Parameters 1. $id: (string) (Required) Meta box ID (used in the ‘id’ attribute for the meta box). …

How To Disable (or Remove) “All Posts, Published, and Trash” in Dashboard Posts

By Prem Tiwari in WordPress, WordPress Functions. Updated on


After this tutorial, You know how To Disable (or Remove) “All Posts, Published, and Trash” in Dashboard Posts. The WP_Posts_List_Table class extends WP_List_Table and within the WP_List_Table::views() method we have the following dynamic views filter: …

Complete WordPress Function Reference

By Prem Tiwari in WordPress Functions. Updated on


Want to know what’s going on inside WordPress? Search the Code Reference for more information about WordPress’ functions, classes, methods, and hooks. In this document, I am sharing the complete WordPress function reference. Below are …

WordPress User and Author Functions

By Prem Tiwari in WordPress Functions. Updated on


Below are the lists of WordPress user and author function This list also includes the deprecated functions. Function with red colour is deprecated in new version of WordPress. WordPress User and Author Functions Below are …

WordPress Comment, Ping, and Trackback Functions

By Prem Tiwari in WordPress Functions. Updated on


Below are the list of WordPress comment, ping, and trackback functions. WordPress Comment, Ping, and Trackback Functions Below are the list of WordPress comment, ping, and trackback functions list: add_ping add_comment_meta check_comment comment_text comment_form comments_number …

WordPress Admin Menu Functions

By Prem Tiwari in WordPress Functions. Updated on


Below are the lists of WordPress admin menu functions. You can use the below functions while developing a new Theme or Plugins. WordPress Admin Menu Functions List Below are the list of WordPress admin menu …

WordPress Multisite Function lists

By Prem Tiwari in WordPress Functions. Updated on


Below are the lists of WordPress multisite function. This list also includes the deprecated functions. Function with red colour is deprecated in new version of WordPress. Multisite WordPress API, found in file wp-includes/ms-functions.php (since 3.0.0). …

WordPress miscellaneous function

By Prem Tiwari in WordPress Functions. Updated on


This tutorial is a collection of WordPress miscellaneous functions list. This list also includes the deprecated functions. Function with red colour is deprecated in new version of WordPress. WordPress miscellaneous function Below are the list …

WordPress Conditional Tags Index

By Prem Tiwari in WordPress Functions. Updated on


This tutorial is a collection of WordPress formatting function list. This list also includes the deprecated functions. Function with red colour is deprecated in new version of WordPress. You can format your output from the …

WordPress Formatting Functions

By Prem Tiwari in WordPress Functions. Updated on


This tutorial is a collection of WordPress formatting function list. This list also includes the deprecated functions. Function with red colour is deprecated in new version of WordPress. You can format your output from the …

WordPress Category, Tag and Taxonomy Functions

By Prem Tiwari in WordPress Functions. Updated on


This tutorial is a collection of WordPress category, tag and taxonomy functions list. This list also includes the deprecated functions. Function with red colour is deprecated in new version of WordPress. What is WordPress Category? …