ACF – Eliminate unnecessary data and print

Question

In ACF, the_field(‘battery’); outputs as follows :

Battery : Sony Rechargeable Ni-MH 2200 mAh battery

or

Battery : Energizer AA Rechargeable Batteries 2300 mAh NiMH 

How can i achieve this (showing only mAh details) :

Battery : 2200 mAh

or

Battery : 2300 mAh
0
seezar 4 months 0 Answers 10 views 0

Leave an answer