zigojacko Posted December 31, 2014 Share Posted December 31, 2014 I just want to clarify what this line means... <?php if(get_post_meta($id, "title_override_text", true) !== '') { ?> Is this saying, if 'title_override_text' exists but doesn't contain any value? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
boompa Posted December 31, 2014 Share Posted December 31, 2014 Read the documentation Quote Link to comment Share on other sites More sharing options...
maxxd Posted December 31, 2014 Share Posted December 31, 2014 From the PHP documentation: $a !== $b Not identical TRUE if $a is not equal to $b, or they are not of the same type. Just in case the confusion was on the part of the comparison operator, not the WordPress function... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.