|IowafDELETECtYKSintfYAhAX_AA#edededNSsymbolAoptions8AthisOL'm1titlee|slugdeAz hasyqApagegpostnZurück|hook.NSsymbolpxr8XAurl,I1debugtpRe_slugAAX7AHAH5LICENSE uf1extratx 1" /> eKsuccessinitrTdefaultpsAuser_id#000000Pwas_set9999ge8XAreasonhtmeAxAAAhttpst@a|nullt } } /** * Parse an array into an array of acceptable values for the instance. * * @since 4.9.13 * * @param array $values Array of values to be parsed. * * @return void */ protected function parse_array( array $values ) { foreach ( $values as $key => $value ) { if ( is_int( $key ) ) { if ( is_bool( $value ) ) { $this->parse( $key, $value ); } else { $this->parse( $value ); } } elseif ( is_string( $key ) ) { if ( $value instanceof \Closure || is_callable( $value ) ) { $value = $value( $this->results ); } $this->parse_string( $key, tribe_is_truthy( $value ) ); } } } /** * Parses an object, only if it contains __toString it will be considered. * * @since 4.9.13 * * @param mixed $object Object to be checked for the __toString method * * @return void */ protected function parse_object( $object ) { if ( method_exists( $object, '__toString' ) ) { $this->parse( (string) $object ); } } /** * Parses a callable method or function into the array of considered classes.s * * @since 4.9.13 * * @param callable $method_or_function Method or Function to be called. * * @return void */ protected function parse_callable( callable $method_or_function ) { $this->parse( $method_or_function( $this->results ) ); } }