We prove an extension theorem for ultraholomorphic classes defined by so-called Braun-Meise-Taylor weight functions and transfer the proofs from the single weight sequence case from V. Thilliez to the weight function setting. We are following a different approach than the results obtained in a recent paper by the authors, more precisely we are working with real methods by applying the ultradifferentiable Whitney-extension theorem. We are treating both the Roumieu and the Beurling case, the latter one is obtained by a reduction from the Roumieu case. K E Y W O R D S extension operators, functions and matrices, growth indices, Legendre conjugates, spaces of ultradifferentiable/ultraholomorphic functions, weight sequences, Whitney extension theorem in the ultradifferentiable setting M S C (2 0 1 0)