# firebox/2.1.14/Inc/Core/Helpers/Settings.php

FireBox – WooCommerce Popup Builder, Exit Intent Popup, Email Optin &amp; Cart Abandonment, version 2.1.14. 44 lines.

- Page: https://pluginprobe.com/plugins/firebox/2.1.14/code/Inc/Core/Helpers/Settings.php
- Raw: https://pluginprobe.com/plugins/firebox/2.1.14/raw/Inc/Core/Helpers/Settings.php
- Modified: 2024-05-30T14:06:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/firebox/2.1.14/code/Inc/Core/Helpers/Settings.php#L10-L20`.

```php
<?php
/**
 * @package         FireBox
 * @version         2.1.14
 * 
 * @author          FirePlugins <info@fireplugins.com>
 * @link            https://www.fireplugins.com
 * @copyright       Copyright © 2024 FirePlugins All Rights Reserved
 * @license         GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
*/

namespace FireBox\Core\Helpers;

if (!defined('ABSPATH'))
{
	exit; // Exit if accessed directly.
}

class Settings
{
	/**
	 * Finds the option within the plugin settings
	 * 
	 * @param   string  $option
	 * 
	 * @return  mixed
	 */
	public static function findSettingsOption($option)
	{
		if (!$option && !is_string($option))
		{
			return false;
		}

		$settings = get_option('firebox_settings');

		if (!isset($settings[$option]))
		{
			return false;
		}

		return $settings[$option];
	}
}
```
