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. Link to comment https://forums.phpfreaks.com/topic/293566-explanation-of-code/ Share on other sites More sharing options...
boompa Posted December 31, 2014 Share Posted December 31, 2014 Read the documentation Link to comment https://forums.phpfreaks.com/topic/293566-explanation-of-code/#findComment-1501335 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... Link to comment https://forums.phpfreaks.com/topic/293566-explanation-of-code/#findComment-1501336 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.