Dhanendran's Blog

It's all about my technology & social adventures…

Tag

hooks

WordPress get_terms returns empty array for custom taxonomy

get_terms returning empty array even though there are many terms it has? Creating custom taxonomies are common when we design complex web applications. I hear your mind voice, We create custom taxonomy for simple applications as well. Yeah, that's right. Creating… Continue Reading →

Using get_template_part within Shortcode

The get_template_part is a one of the most useful function for the theme developers. It prints/includes the template content inside another template. It is used as an alternative to include or require. We can make use of this function within the… Continue Reading →

How to create custom filter in WordPress?

Basically WordPress hooks are categorised into two types; Action hooks Filter hooks Action hooks: As name says, these hooks are called when an action is performed. Action hooks allow you to execute your custom functions which are referred to as actions…. Continue Reading →

© 2018 Dhanendran's Blog — Powered by WordPress

Theme by Anders NorenUp ↑