Generalised form of Ampere circuital law:
∮→B.→dl=μ0(Ic+ε0dϕdt)
It signifies that the source of magnetic field is not just due to the conduction electric current due to flow of charge but also due to the time rate of charge of electric field called displacement current.
During charging and discharging of a capacitor the electric field between the plates will change so there will be a change of electric flux between the platesdue to which there will be a displacement current.