WordPress.org

Ready to get started?Download WordPress

Forums

Automatically Edit And Save A Post Upon Publishing (3 posts)

  1. lsilver
    Member
    Posted 10 months ago #

    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.

  2. Ricard Torres
    Member
    Posted 10 months ago #

    What does the plugin do? Isn't it just a matter of click the "Save" button?

  3. bcworkz
    Member
    Posted 10 months ago #

    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.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.