Difference Between Do_Action and Add_Action

Difference between do_action() and add_action() in WordPress

While designing your themes, sometimes you want to be able to push dynamic content to a particular area of it. At this time, the do_action(), add_action() functions of WP are a great tool to use.

Read More

How To Add Author Profile Fields

How to Add Author Profile Fields

WordPress is renowned among users is that it offers us an incredible user management and ability to capability to create multi-author blogs and publication platforms.In wordpress, sometimes we need to add some extra fields to our author profiles. We can easily do this by adding few segments of code to our functions.php file. In this blog we will explain you how to add author profile fields. Just need to add the following codes in functions.php file:

Read More

Difference Between Add_Filter and Apply_Filters

Difference between add_filter() and apply_filters()

WordPress offers a filter hooks to allow the plugins to modify various types of internal data at run time. It hook a function or method to a specific filter action and then call the functions added to a filter hook. Here we are going to explain you about the difference between Add_Filter and Apply_Filters.

Read More

Include Once And Require Once

WordPress include()/include_once() and require()/require_once()

The difference between include vs. include_once and  require_once vs. require is obvious from the names. include and require allows you to insert a file multiple times within a single executions lifetime. While, include_once() and require_once() make sure one file is inserted only once in a single execution lifetime. The “include” statement is used to include other files into a PHP file. The “require” statement is used to include file.

Read More