* @uses cherry_get_option use cherry_get_option from Cherry framework if exist * * @param string $name option name to get. * @param mixed $default default option value. * @return mixed */ public static function get_option($name, $default = false) { if (function_exists('cherry_get_option')) { $result = cherry_get_option($name, $default); return $result; } return $default; } /** * Returns the instance. * * @since 1.0.0 * @return object */ public static function get_instance() { // If the single instance hasn't been set, set it now. if (null == self::$instance) { self::$instance = new self(); } return self::$instance; } } Cherry_Rank_Options::get_instance(); }