Acyl-ACP thioesterase involved in the production of fatty acids and beta-keto fatty acids. Can produce fatty acids of medium to long chain (12:0, 14:1, 14:0, 16:1 and 16:0) when expressed in a heterologous organism (E.coli). Possesses thioesterase activity toward lauroyl-ACP (12:0-ACP) in vitro. May play a role in cuticular wax synthesis. Expressed in epidermal cells of stems, in the top portion of the gynoecium, petals and trichomes. Belongs to the 4-hydroxybenzoyl-CoA thioesterase family.