WordPress.org

Support

Support » Plugins and Hacks » Hacks » Automatically Edit And Save A Post Upon Publishing

Automatically Edit And Save A Post Upon Publishing

  • I’m using a plugin which requires a post to be updated before it’s functionality kicks in. It is too time consuming to do this each time I make a post. I have to edit it, and then save it (with no changes).

    I tried to find a plugin that could do this but no luck.

    Does anybody have any idea how I could go about this? I’m presuming a custom plugin but I have no clue what to do.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • What does the plugin do? Isn’t it just a matter of click the “Save” button?

    Moderator bcworkz

    @bcworkz

    It’s hard to say without seeing the current plugin source code, but I would think the easiest fix would be to alter under which conditions the plugin’s functionality is triggered. Instead of running on an update only, set it up to run for both updates and publishing.

    This may be as simple as adding and possibly removing action or filter callbacks. This sort of thing could be done from a child theme functions.php or a simple custom plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Automatically Edit And Save A Post Upon Publishing’ is closed to new replies.
Skip to toolbar