How to hook only on some pages?
#5
(2015-11-22, 12:46 PM)SvePu Wrote: Try this.... Wink
if(my_strpos($_SERVER['PHP_SELF'], 'index.php'))
{
// plugin actions
}

Worked as expected Big Grin  Thank you.
Reply


Messages In This Thread
How to hook only on some pages? - by xirtam - 2015-11-22, 09:42 AM
RE: How to hook only on some pages? - by Leefish - 2015-11-22, 10:14 AM
RE: How to hook only on some pages? - by xirtam - 2015-11-22, 10:57 AM
RE: How to hook only on some pages? - by SvePu - 2015-11-22, 12:46 PM
RE: How to hook only on some pages? - by xirtam - 2015-11-22, 02:00 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)