We provide a unified approach to getting Hermite–Hadamard inequalities for functions with convex absolute values of the second derivatives via the Riemann–Liouville integrals. Some particular inequalities generalizing the classical results, such as the trapezoid inequality, Simpson’s inequality, and midpoint inequality are also presented.