Sindbad~EG File Manager

Current Path : /home/xiedrke/entrepot/wp-content/plugins/realpress/app/Helpers/
Upload File :
Current File : /home/xiedrke/entrepot/wp-content/plugins/realpress/app/Helpers/Compare.php

<?php

namespace RealPress\Helpers;

class Compare {

	/**
	 * @param $property_id
	 *
	 * @return bool
	 */
	public static function is_my_compare( $property_id ) {
		$compare_properties = Cookie::get_cookie( 'realpress_compare_property' );

		if ( empty( $compare_properties ) ) {
			return false;
		}

		if ( is_string( $compare_properties ) ) {
			$compare_properties = explode( ',', $compare_properties );
		}

		return in_array( $property_id, $compare_properties );
	}
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists