Skip to content

Commit

Permalink
update filter name
Browse files Browse the repository at this point in the history
  • Loading branch information
remyperona committed Dec 4, 2024
1 parent fd9f39b commit 6121ff4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion inc/Engine/Media/Fonts/Clean/Clean.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

namespace WP_Rocket\Engine\Media\Fonts\Clean;

use WP_Rocket\Engine\Media\Fonts\Filesystem;

class Clean {
/**
* Filesystem instance
Expand Down Expand Up @@ -56,6 +58,11 @@ public function clean_on_option_change( $old_value, $value ) {

$this->clean_css_fonts();

do_action( 'rocket_fonts_locally_hosted_changed' );
/**
* Fires when the option to host fonts locally is changed
*
* @since 3.18
*/
do_action( 'rocket_host_fonts_locally_changed' );
}
}

0 comments on commit 6121ff4

Please sign in to comment.