is_array($var);

is_array($var);
This function is used to check the variable that it's array or not. If it's an array then this function will return you '1' as output and if it isn't then you will never get any return or out put form this function.
So, the basic concept is this function is used to verify variable that it's array or not. 

Comments

Popular posts from this blog

WP register_post_type() with custom CMB2 meta box

Git post receive setup at server for git push to the production from local machine