I need to use validation is_single('wordpress') in file functions.php.
But the function is_single() does not work in the file functions.php.
What can I do so that I can use is_single() in file functions.php?
If more, then:
I'm doing a check, its single page or not.
And for single page I am set custom function..
Please help me someone.