If statement to show dynamic_sidebar
-
Hi, I have question about this if statement
if(!function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer'))
I know how IF works but I don’t know why in this case is !function_exist
I think if this function should appearance a Footer sidebar then it should looks like
if(function_exist('dynamic_sidebar) || dynamic_sidebar('Footer'))
Could you tell me why in this case was used !function_exist OR !dynamic_sidebar?
And where can I find function_exist and dynamic_sidebar references?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘If statement to show dynamic_sidebar’ is closed to new replies.