Acyl-ACP thioesterase involved in the production of fatty acids and beta-keto fatty acids. Can produce fatty acids of medium to long chain (6:0, 8:0, 10:0 and 16:1) and small amounts of medium to long chain beta-keto fatty acids (8:0, 14:0 and 16:1) when expressed in a heterologous organism (E.coli). Possesses thioesterase activity for lauroyl-ACP (12:0-ACP) in vitro. May play a role in the development of floral organs by generating short chain fatty acids. Expressed specifically in anther walls (endothecium) and in microspores. Belongs to the 4-hydroxybenzoyl-CoA thioesterase family.