403 Forbidden


Disable Functions:
Path : /home/wtico/public_html/en/wp-includes/
File Upload :
Command :
Current File : /home/wtico/public_html/en/wp-includes/class-wp-user-meta-session-tokens.php

<?php
/**
 * Session API: WP_User_Meta_Session_Tokens class
 *
 * @package WordPress
 * @subpackage Session
 * @since 4.7.0
 */

/**
 * Meta-based user sessions token manager.
 *
 * @since 4.0.0
 *
 * @see WP_Session_Tokens
 */
class WP_User_Meta_Session_Tokens extends WP_Session_Tokens {

	/**
	 * Retrieves all sessions of the user.
	 *
	 * @since 4.0.0
	 *
	 * @return array Sessions of the user.
	 */
	protected function get_sessions() {
		$sessions = get_user_meta( $this->user_id, 'session_tokens', true );

		if ( ! is_array( $sessions ) ) {
			return array();
		}

		$sessions = array_map( array( $this, 'prepare_session' ), $sessions );
		return array_filter( $sessions, array( $this, 'is_still_valid' ) );
	}

	/**
	 * Converts an expiration to an array of session information.
	 *
	 * @param mixed $session Session or expiration.
	 * @return array Session.
	 */
	protected function prepare_session( $session ) {
		if ( is_int( $session ) ) {
			return array( 'expiration' => $session );
		}

		return $session;
	}

	/**
	 * Retrieves a session based on its verifier (token hash).
	 *
	 * @since 4.0.0
	 *
	 * @param string $verifier Verifier for the session to retrieve.
	 * @return array|null The session, or null if it does not exist
	 */
	protected function get_session( $verifier ) {
		$sessions = $this->get_sessions();

		if ( isset( $sessions[ $verifier ] ) ) {
			return $sessions[ $verifier ];
		}

		return null;
	}

	/**
	 * Updates a session based on its verifier (token hash).
	 *
	 * @since 4.0.0
	 *
	 * @param string $verifier Verifier for the session to update.
	 * @param array  $session  Optional. Session. Omitting this argument destroys the session.
	 */
	protected function update_session( $verifier, $session = null ) {
		$sessions = $this->get_sessions();

		if ( $session ) {
			$sessions[ $verifier ] = $session;
		} else {
			unset( $sessions[ $verifier ] );
		}

		$this->update_sessions( $sessions );
	}

	/**
	 * Updates the user's sessions in the usermeta table.
	 *
	 * @since 4.0.0
	 *
	 * @param array $sessions Sessions.
	 */
	protected function update_sessions( $sessions ) {
		if ( $sessions ) {
			update_user_meta( $this->user_id, 'session_tokens', $sessions );
		} else {
			delete_user_meta( $this->user_id, 'session_tokens' );
		}
	}

	/**
	 * Destroys all sessions for this user, except the single session with the given verifier.
	 *
	 * @since 4.0.0
	 *
	 * @param string $verifier Verifier of the session to keep.
	 */
	protected function destroy_other_sessions( $verifier ) {
		$session = $this->get_session( $verifier );
		$this->update_sessions( array( $verifier => $session ) );
	}

	/**
	 * Destroys all session tokens for the user.
	 *
	 * @since 4.0.0
	 */
	protected function destroy_all_sessions() {
		$this->update_sessions( array() );
	}

	/**
	 * Destroys all sessions for all users.
	 *
	 * @since 4.0.0
	 */
	public static function drop_sessions() {
		delete_metadata( 'user', 0, 'session_tokens', false, true );
	}
}

404 Not Found
[ LogOut ]
Introduction to WT&I (WHO)
Sustainability at its finest: For the joint future of people, nature, and animals.
We are a research company specializing in the eco-friendly production of insect-derived protein.
Edible protein can be extracted from insects, which is an eco-friendly and easily renewable nutritious resource, which can be customized for use as raw materials for feed, food, cosmetics, and medicine.
It is possible to enter the global market based on technology that enables mass production systems to be tailored to the world’s diverse environments and situations. [what does this mean?]
WT&I’s core value is to create a renewable system where humans sustainably coexist with nature and animals.
w
World / Worm ?
t
Technology / Together ?
i
Innovation / Ideology ?
Business Area of WT&I (WHAT)
Based on our insect production technology developed over many years, we have standardized the technology of insect breeding and mastered these skills through continuous research and development.
Mass production of high-quality insects in a systematic and clean environment using an automated platform for mass production of insects based on ICT and IOT.
We use insect protein extracts to improve digestibility and absorption to create an allergy-free functional feed and nutritional products.
We are developing diet, patient, exercise, and health functional foods using insect protein extracts. [What does this mean? Does it exist yet or is it in development?]
I’m researching beauty products, hair products, functional cosmetics, medicines, etc.
Technology of WT&I(HOW)
Why insects are gaining global attention (why)
Significantly less waste and waste discharge than general livestock, for improved sustainability and reduced environmental impact
Insects are cold-temperature animals, so they consume energy to maintain body temperature [why does this matter?] Can be raised in small amounts of feed. [Does this mean the require less feed?]
CONTACT US

Contact Us





Headquarters

(55365) 3rd Floor,
TOP B/D, 135, Anjeon-ro,
Iseo-myeon, Wanju-gun,
Jeollabuk-do, South korea

Farm

(12802) 82-16 Gwangyeo-ro,
Gonjiam-eup, Gwangju, Gyeonggi-do,
South Korea

Branch

(05808) 7th Floor, Chilbo B/D,
9, Saemal-Ro, 5-Gil, Songpa-Gu,
Seoul, South Korea