• Resolved bisapatrick

    (@bisapatrick)


    Hi, in my estate agency site I have a properties pages.
    This properties is imported with a cron, because the properties is published in onother site (this site export a csv file that my site import with cron).
    When a property is imported, don’t have a watermark! I must add the watermark manually.
    So I can by a cron, add the watermark to the images without watermark?

    Waiting, thanks.

Viewing 1 replies (of 1 total)
  • Plugin Author Kuba Mikita

    (@kubitomakita)

    Hi @bisapatrick, you could do that:

    $ew = EW_Plugin::init();
    $ew->watermark_attachment( WP_Post $attachment_post, $checkMime = true );

    That should do the job to watermark an attachment programmatically!

Viewing 1 replies (of 1 total)

The topic ‘Add watermark with cron’ is closed to new replies.