/home/altere25/sportzsoftlivemeet.com/wp-content/plugins/wp-smushit/core/parser
Edit: /home/altere25/sportzsoftlivemeet.com/wp-content/plugins/wp-smushit/core/parser/class-style.php (889B)
css = $css;
$this->image_urls = $image_urls;
}
/**
* @return string
*/
public function get_css() {
return $this->css;
}
public function get_image_urls() {
return $this->image_urls;
}
public function has_updates() {
foreach ( $this->image_urls as $image_url ) {
if ( $image_url->has_updates() ) {
return true;
}
}
return false;
}
public function get_updated() {
$updated = $this->css;
foreach ( $this->image_urls as $image_url ) {
if ( $image_url->has_updates() ) {
$updated = str_replace(
$image_url->get_previous_url(),
esc_url_raw( $image_url->get_url() ),
$updated
);
}
}
return $updated;
}
}