Blog Archives

How perform action during add/edit/delete category using hooks : wordpress

Hello Friends!! If you want perform any action during add/edit/delete category/taxonomy without changing in wordpress core files then you can do it using wordpress hooks . You will only need to add given blow function in your theme function file,

Tagged with: , , ,
Posted in Wordpress

How get the custom taxonomy name by the term_id: WordPress

Hello Friends 🙂 If you want to get the title of any custom taxonomy name using the term_id, then don’t worryi am here for you 🙂 $array = get_term_by(‘id’, term_id, ‘taxonomy’, ‘ARRAY_A’); print_r($array[name]); Enjoy Code | Raghunath Blog

Tagged with: , , , ,
Posted in Wordpress
Recent Posts