protected static function validate( $type, $data, $admin ) {

		$place = ( isset( $data['place'] ) ) ? $data['place'] : 'front';

		$place = $admin && 'admin' == $place || ! $admin && 'front' == $place;

		if ( ! $place || self::set_params( $type, $data ) === false ) {
			return false;
		}

		return true;
	}