This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Widgets actions after save/delete style files

7 years ago · Last reply by Alex S 7 years ago

Hey there.

Some widgets save custom css on

upload_dir/siteorigin-widgets/<somefile>.css
.

I working with Amazon S3 + CloudFront and would like to know how can I upload those files this files automatically to S3.

In the file

siteorigin-widget.class.php
we have
save_css
and
delete_css
, but it has no way to inform via actions that a file was saved or deleted.

Could be somenthing like

do_action('siteorigin_widgets_after_save_css')
do_action('siteorigin_widgets_after_delete_css')

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Alex S Staff 7 years, 2 months ago

    Hi Lcssanches,

    Unfortunately, this isn’t currently possible. I’ve submitted a PR for this and this should hopefully be possible in the next update.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread