Optocouplers have a "Rise Time" and "Fall Time." If you are sending high-speed PWM signals (above 10kHz), check the datasheet for the switching speed to ensure the signal doesn't become distorted.
The A1458 is functionally equivalent to the industry-standard PC817 . However, the A1458 often features tighter CTR binning and slightly better high-temperature dark current performance. a1458 optocoupler datasheet