/home/altere25/usaigc.com/wp-content/plugins/svg-support/integrations
Edit: /home/altere25/usaigc.com/wp-content/plugins/svg-support/integrations/wp-all-import.php (2493B)
intval( $dimensions->width ),
'height' => intval( $dimensions->height ),
'file' => basename( $file_path ),
);
return true;
} else {
error_log( sprintf( 'Sanitization failed for SVG file at path %s.', $file_path ) );
return false;
}
}
error_log( sprintf( 'SVG file at path %s is either missing or not readable.', $file_path ) );
return false;
}
// Hook the function into WP All Import's `pmxi_attachment_uploaded`.
add_action( 'pmxi_attachment_uploaded', 'bodhi_svgs_wpallimport_handle_svg' );