Skip to content

Commit

Permalink
Add action for autoptimise when wpr is already installed
Browse files Browse the repository at this point in the history
  • Loading branch information
Khadreal committed Dec 11, 2024
1 parent b9985d1 commit d403ae4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
1 change: 1 addition & 0 deletions inc/3rd-party/plugins/autoptimize.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ function rocket_activate_autoptimize() {
}
}
add_action( 'activate_autoptimize/autoptimize.php', 'rocket_activate_autoptimize', 11 );
add_action( 'rocket_first_install_options', 'rocket_activate_autoptimize', 16 );

/**
* Disable WP Rocket lazyload fields if Autoptimize lazyload is enabled
Expand Down
18 changes: 0 additions & 18 deletions licence-data.php

This file was deleted.

0 comments on commit d403ae4

Please sign in to comment.