Skip to content

Commit 7c68e4e

Browse files
committed
attempt to fix #979
1 parent 2d99367 commit 7c68e4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

inc/v2/Offload/Loader.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ public function __construct() {
2525
* Adds filters to integrate the custom image editor into WordPress.
2626
*/
2727
public function register_hooks() {
28+
if( has_filter( 'wp_image_editors', 'photon_subsizes_override_image_editors' )){
29+
return;
30+
}
2831
add_filter( 'wp_image_editors', [ $this, 'register_image_editor' ] );
2932
}
3033

0 commit comments

Comments
 (0)