Title: Custom Update script
Last modified: July 5, 2022

---

# Custom Update script

 *  Resolved [mauriziora](https://wordpress.org/support/users/mauriziora/)
 * (@mauriziora)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/custom-update-script/)
 * Hi,
    on our site the posts are updated daily with a customized php script that
   uses MySqli functions to change the title, content, date, while keeping the post
   ID unchanged. Your excellent plugin does not detect the update and therefore 
   does not post on Telegram. WP Cron is disabled, but I don’t send with delays.
   What variable does it check to detect the update of the post?
 * Thanks and good job

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Irshad Ahmad](https://wordpress.org/support/users/irshadahmad21/)
 * (@irshadahmad21)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/custom-update-script/#post-15797946)
 * Hi,
    Since the changes are made directly in the database, WordPress and thus 
   the plugin won’t be able to know about the changes. So, it’s recommended to use
   WordPress functions like `wp_update_post` to make changes, so that the plugin
   can be triggered by the change.
 *  Thread Starter [mauriziora](https://wordpress.org/support/users/mauriziora/)
 * (@mauriziora)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/custom-update-script/#post-15798987)
 * thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom Update script’ is closed to new replies.

 * ![](https://ps.w.org/wptelegram/assets/icon-256x256.png?rev=2500018)
 * [WP Telegram (Auto Post and Notifications)](https://wordpress.org/plugins/wptelegram/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wptelegram/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wptelegram/)
 * [Active Topics](https://wordpress.org/support/plugin/wptelegram/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wptelegram/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wptelegram/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [mauriziora](https://wordpress.org/support/users/mauriziora/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/custom-update-script/#post-15798987)
 * Status: resolved