Title: Message Update Programmatically
Last modified: June 18, 2022

---

# Message Update Programmatically

 *  [bloggingandwb](https://wordpress.org/support/users/bloggingandwb/)
 * (@bloggingandwb)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/message-update-programmatically/)
 * I just want to send a customized complex message(I can program) instead of “Message
   format for posting” text field. Which line should I need to edit for that? I 
   think something in publish.php?

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

 *  [anjalixyzscripts](https://wordpress.org/support/users/anjali94/)
 * (@anjali94)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/message-update-programmatically/#post-15751660)
 * if you are using different /custom messages for each post, you can set it at 
   metabox for each of the posts rather than modifying the plugin files.
 *  Thread Starter [bloggingandwb](https://wordpress.org/support/users/bloggingandwb/)
 * (@bloggingandwb)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/message-update-programmatically/#post-15754709)
 * Thanks for the reply. Actually, I just want to set custom field as the URL. It
   means each post contain custom field which store custom URL. I want to set it
   to message.
 *  [anjalixyzscripts](https://wordpress.org/support/users/anjali94/)
 * (@anjali94)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/message-update-programmatically/#post-15755872)
 * This is premium feature, you can use {POSTMETA:META_KEY_NAME} as message format(
   replace the META_KEY_NAME with your custom field name).
    In free version you 
   can add the custom field content directly to the message format field of post
   metabox (custom messages are supported ). Hope this helps.

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

The topic ‘Message Update Programmatically’ is closed to new replies.

 * ![](https://ps.w.org/twitter-auto-publish/assets/icon-128x128.jpg?rev=1790484)
 * [WP Twitter Auto Publish](https://wordpress.org/plugins/twitter-auto-publish/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/twitter-auto-publish/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/twitter-auto-publish/)
 * [Active Topics](https://wordpress.org/support/plugin/twitter-auto-publish/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/twitter-auto-publish/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/twitter-auto-publish/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [anjalixyzscripts](https://wordpress.org/support/users/anjali94/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/message-update-programmatically/#post-15755872)
 * Status: not resolved