Get a single theme option value. If no arguments are given, then all theme options are returned as an array.

It can also check multiple boolean-type options, but it will return true / false only if all options are true / false, and NULL otherwise. Check return types because NULL can evaluate as false.

Description

mixed Atom::app()->options($option [, $option2, $option3, ...])

Example

// get a single option value
if($app->options('media_twitter'))
  sprintf('Twitter URL is %s', $app->options('media_twitter'));

// dump all theme options
print_r($app->options());

// check multiple options
if($app->options('post-title', 'post-thumb', 'post-content') === TRUE){
  // all are enabled
}elseif($app->options('post-title', 'post-thumb', 'post-content') === FALSE){
  // all are disabled
}else{
  // there are both enabled / disabled options within them
}