Police and army troops summoned to the scene killed all of the attackers at the Agriculture Training Institute in Peshawar.
The clerics under hate speech investigation attempted to disrupt the funeral of Mashal Khan, the student who was beaten to death on his university campus.
Ten students have been arrested after Thursday’s attack the grounds of a university in the northern city of Mardan.
“It’s the first time in a decade that we have openly hosted such a function,” said Farzana Jan, a leader of Trans Action Pakistan.
US defense department spokesman Peter Cook confirmed that US forces carried out an air strike in Afghanistan’s eastern Nangarhar province on July 9, killing Umar Khalifa, the alleged mastermind of the 2014 school attack.