'wpvr']); if (empty($plugin_information->versions) || !is_array($plugin_information->versions)) { return []; } $latest_version = $plugin_information->versions; unset($latest_version['trunk']); $valid_versions = []; foreach ($latest_version as $version => $download_link) { $lowercase_version = strtolower($version); $is_valid_rollback_version = preg_match('/^\d+\.\d+\.\d+$/', $version) && !preg_match('/(beta|rc|dev)/i', $lowercase_version) && version_compare($version, WPVR_VERSION, '<'); /** * Filters whether the rollback version is valid. * * @param bool $is_valid_rollback_version Whether the rollback version is valid. * @param string $lowercase_version The lowercase version string. */ $is_valid_rollback_version = apply_filters( 'rex_wpvr_is_valid_rollback_version', $is_valid_rollback_version, $lowercase_version ); if ($is_valid_rollback_version) { $valid_versions[] = $version; } } usort($valid_versions, function ($a, $b) { return version_compare($b, $a); }); $rollback_versions = array_slice($valid_versions, 0, $max_number); // Cache the results for a week set_transient($transient_key, $rollback_versions, WEEK_IN_SECONDS); return $rollback_versions; } $rollback_versions = function_exists( 'rex_wpvr_get_roll_back_versions' ) ? rex_wpvr_get_roll_back_versions() : array(); ?>

  • View Doc', 'wpvr'), esc_url('https://rextheme.com/docs/wp-vr-exclusive-settings/#1s') ), array( 'a' => array('href' => array(), 'target' => array(), 'rel' => array()) ) ); ?>

  • View Doc', 'wpvr'), esc_url('https://rextheme.com/docs/wp-vr-exclusive-settings/#2s') ), array( 'a' => array('href' => array(), 'target' => array(), 'rel' => array()) ) ); ?>

  • View Doc', 'wpvr'), esc_url('https://rextheme.com/docs/wp-vr-exclusive-settings/#3s') ), array( 'a' => array('href' => array(), 'target' => array(), 'rel' => array()) ) ); ?>

  • View Doc', 'wpvr'), esc_url('https://rextheme.com/docs/wp-vr-disable-wordpress-large-image-handler/') ), array( 'a' => array('href' => array(), 'target' => array(), 'rel' => array()) ) ); ?>

  • View Doc', 'wpvr'), esc_url('https://rextheme.com/docs/wp-vr-auto-resize-images-mobile-devices/') ), array( 'a' => array('href' => array(), 'target' => array(), 'rel' => array()) ) ); ?>

  • View Doc', 'wpvr'), esc_url('https://rextheme.com/docs/wp-vr-exclusive-settings/#5s') ), array( 'a' => array('href' => array(), 'target' => array(), 'rel' => array()) ) ); ?>

  • View Doc', 'wpvr'), esc_url('https://rextheme.com/docs/wp-vr-exclusive-settings/#5s') ), array( 'a' => array('href' => array(), 'target' => array(), 'rel' => array()) ) ); ?>

  • Pro

    View Doc', 'wpvr'), esc_url('https://rextheme.com/docs/enable-vr-headset-for-phones-wordpress/') ), array( 'a' => array('href' => array(), 'target' => array(), 'rel' => array()) ) ); ?>

  • Pro