Use correct class names.

This commit is contained in:
Vedanshu Jain 2024-09-17 12:15:57 +05:30
parent 25bd531885
commit cc021b2070
1 changed files with 2 additions and 2 deletions

View File

@ -78,8 +78,8 @@ class HooksRegistry {
* @var array $admin_filters
*/
private static array $admin_filters = array(
array( 'image_get_intermediate_size', array( __CLASS__, 'filter_image_get_intermediate_size' ), 10, 3 ),
array( 'wp_get_attachment_image_src', array( __CLASS__, 'maybe_resize_image' ), 10, 4 ),
array( 'image_get_intermediate_size', array( 'WC_Regenerate_Images', 'filter_image_get_intermediate_size' ), 10, 3 ),
array( 'wp_get_attachment_image_src', array( 'WC_Regenerate_Images', 'maybe_resize_image' ), 10, 4 ),
);
/**