Is it Possible to add the same Post record in my custom Table when a Post is published as it goes to wp_post table? – Phpmyadmin
I am creating a plugin for my client website. When I activate my plugin then a table is created in phpMyAdmin database by using register_activation_hook(). Now I want to add a new record in that custom table when wp_post is…