Wormholes, short cuts between otherwise distant or unconnected regions of the universe, have become a popular research topic since the influential paper of Morris and Thorne  . Early work was reviewed in the book of Visser  . The Morris-Thorne (MT) study was restricted to static, spherically symmetric space-times, and initially there were various attempts to generalize the definition of wormhole by inserting time-dependent factors into the metric. According to the Einstein field equations, the MT wormhole needs an exotic matter (matter violating the null and weak energy conditions (NEC and WEC)) which holds up the wormhole structure and keeps the wormhole throat open. Sushkov  and Lobo  independently, have shown that phantom energy could well be the class of exotic matter which is required to support traversable wormholes.
Recent astronomical data indicate that the universe could be dominated by a fluid which violates the null energy condition    . Although, an exotic matter is responsible for the early-time inflation and late-time acceleration, the modified theory of gravity ( gravity), which can explain the present acceleration without introducing an exotic matter, has received intense attention. The literature on gravity is vast, and the earlier reviews on this theory are given in      .
Since the discovery of black hole thermodynamics    , physicists have been speculating that there should be some relationship between thermodynamics and Einstein equations. Jacobson is the first one who was able to derive Einstein equations from the proportionality of entropy to the horizon area of the black hole together with the first law of thermodynamics  . In the cosmological setup, Cai and his collaborators made the major development by showing that the Einstein field equations evaluated at the apparent horizon can also be expressed in the form of the first law of thermodynamics in various theories of gravity. This connection between gravity and thermodynamics has also been extended in the braneworld cosmology   . All these indicate that the thermal interpretation of gravity is to be generic, so we investigate this relation for a more general spacetimes. The idea that wormholes may show some characteristics and properties which are parallel to those already found in black holes, seems to be quite natural, including in particular wormhole thermodynamics  . Also, the authors  have discussed wormhole thermodynamics at apparent horizons in Einstein gravity.
2. Thermodynamics of Time-Dependent Wormholes in Gravity
In this section, we generalize the thermodynamics of evolving wormholes within the modified gravity. Hayward first introduced a formalism for defining thermal properties of black holes in terms of measurable quantities. This formalism also works for the dynamical black holes which consistently recover the results obtained by global considerations using the event horizon as in the static case. A fascinating and rather surprising feature emerges if one recognize that the static wormhole reveals thermodynamics properties analogous to the black holes if one considers the local quantities. It is important to note that the non-vanishing surface gravity at the wormhole throat characterized by a non-zero temperature for which one would expect that wormhole should emit some sort of thermal radiation.
Let us start with the evolving wormhole metric 
where is the line element of a two-dimensional unit sphere, is the scale factor of the universe, and are the arbitrary shape and redshift functions of the evolving wormhole, respectively. We rewrite the spherically symmetric metric (1) in the following form (by considering ):
where , and represents the radius of the sphere while the two-dimensional metric is written as
The surface gravity is defined as  
where is the determinant of metric (3). So, the surface gravity at the wormhole horizon can be written as
where and the overdot denotes differentiation with respect to time. is the Hubble parameter. The horizon temperature is defined as . So
The area of the wormhole horizon is defined as
One can relate the entropy with the surface area of the horizon through
. In the theory of gravity, the entropy has the following rela-
tion to the horizon area
where . Therefore
Using the above equation and the relation (6), we obtain
Now we consider the Gibbs equation 
where is the entropy of the matter bounded by the horizon and is the
energy of the matter distribution. The volume is defined as , and
denotes the average pressure inside the horizon which is . Where and are the radial pressure and tangential pressure, respectively. Here for thermodynamical equilibrium, the temperature of the matter inside the horizon is assumed to be the same as on the horizon i.e. .
Now starting with
and the continuity equation , which can be achieved from the energy conservation equation , the Gibbs equation leads to
where is the energy density and .
So, by combining Equations (10) and (13), one can easily reach the following equation for the variation of total entropy.
3. Thermodynamics at Event Horizon
Now we shall find out the event horizon radius and then analyze the above equation for evolving wormholes. By considering , event horizon radius can be found from the relation(i.e. )
Therefore, the event horizon radius can be found from the above equation. In the theory of gravity, the author and Nasr Esfahani   have shown that the energy density , radial pressure and tangential pressure can be written as
Now by substituting relations (17), (18), (19) and (15) into the Equation (14), the variation of total entropy can be written as
Thus, the expression in Equation (20) for the rate of change of total entropy at event horizon shows that the validity of the generalized second law of thermodynamics depends on the right hand side (r.h.s.) of the equation. The generalized second law will be valid for event horizon if the r.h.s. of the above expression is non-negative.
We have reviewed the time-dependent wormholes in modified gravity. To support the wormhole geometry, we consider a traceless fluid. We have generalized the thermodynamics of these wormholes. By applying the area law of thermodynamics and using the Gibbs equation, the variation of total entropy at event horizon has been discussed. If this variation of total entropy is non-negative, the generalized second law of thermodynamics will be valid. It will be interesting in further investigation to study the thermodynamic behavior of field equations in gravity for rotating spacetimes.