public function rule_like( Papi_Core_Conditional_Rule $rule ) {
		$value = $this->get_value( $rule );

		if ( ! is_string( $value ) ) {
			$value = papi_convert_to_string( $value );
		}

		if ( papi_is_empty( $value ) ) {
			return false;
		}

		return strpos(
			strtolower( $value ),
			strtolower( $rule->value )
		) !== false;
	}
public function rule_like( Papi_Core_Conditional_Rule $rule ) {
		$value = $this->get_value( $rule );

		if ( ! is_string( $value ) ) {
			$value = papi_convert_to_string( $value );
		}

		if ( papi_is_empty( $value ) ) {
			return false;
		}

		return strpos(
			strtolower( $value ),
			strtolower( $rule->value )
		) !== false;
	}
public function rule_like ( Papi_Core_Conditional_Rule $ rule ) { $ value = $ this -> get_value ( $ rule ) ; if ( ! is_string ( $ value ) ) { $ value = papi_convert_to_string ( $ value ) ; } if ( papi_is_empty ( $ value ) ) { return false ; } return strpos ( strtolower ( $ value ) , strtolower ( $ rule -> value ) ) !== false ; }
Like conditional rule.

@param  Papi_Core_Conditional_Rule $rule

@return bool
Like conditional rule .