Jump to content

Is isset different in wordpress


codexpower

Recommended Posts

What I remember from my college days is that isset check whether the variable has a value set or not and return true or false value.

 

However I encountered a code in wordpress - 

// Set up the content width value based on the theme's design and stylesheet.
if ( ! isset( $content_width ) )
$content_width = 625;
 
 
Here why is this sign used !
 
This sign is actually not equal to, Right?
 
Link to comment
https://forums.phpfreaks.com/topic/294288-is-isset-different-in-wordpress/
Share on other sites

  • 4 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.