sm:sync::deleteFiles

sm:sync::deleteFiles

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wp-stateless.4.1.1

do_action('sm:sync::deleteFiles') is found 2 times:

  • /lib/classes/compatibility/siteorigin-widget-bundle.php line 121
           * @param $transient
           * @return mixed
           */
          public function clear_file_cache($value, $expiration, $transient) {
            do_action('sm:sync::deleteFiles', self::STORAGE_PATH);
            return $value;
          }
    
          /**
           * Clear all SO CSS files from GCS after expired. 7 days
           */
    
  • /lib/classes/compatibility/siteorigin-widget-bundle.php line 129
          /**
           * Clear all SO CSS files from GCS after expired. 7 days
           */
          public function widgets_stylesheet_cleared() {
            do_action('sm:sync::deleteFiles', self::STORAGE_PATH);
          }
    
          /**
           * Remove single file from GCS. File can be without extension.
           * 
           * @param $css_name
    

See this hook used in plugins: