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, 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) …

How add IP restriction for access to wp-admin login page through htaccess file : WordPress

Hello Friends. Hope you are doing well!! As you know there days hacker can easily hack wordpress site admin because generally we used common username/password of access to admin (i.e admin/admin123, admin/123456). I am here going to describe you how you can restrict wp-admin login page only for few IP address using htaccess file. I …