Warning: Undefined array key "title" in /home/u593943216/domains/wp-experts.in/public_html/secure_content/themes/wp-experts/inc/classes/class-hooks.php on line 151
Hi Friends, Today we have released new version of our WordPress plugin “WP Categories Widget” . It’s the very simple plugin to display any type of custom taxonomy categories through the widget sidebar. `FEATURES` Disable Widget Block Editor An option to show categories post count An option to hide child categories An option to hide
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, no need to edit /** Call function during create new category/taxonomy */ add_action('create_term','wp_custom_save_taxonomy'); function wp_custom_save_taxonomy($term_id)
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