to not autoload them, by using false. * For non-existent options, the default is null, which means WordPress will determine * the autoload value. * @return bool True if the value was updated, false otherwise. */hVk&VPG?Vk&V@`G@Vk&V0I=xVk&VPPIuĬVk&V`IAĬVk&VpIAVk&VImVk&VpIVk&VL=xVk&VPPLuĬVk&Vp`LAĬVk&V`pLAVk&VLmVk&VLVk&VO=xVk&VPPOuĬVk&V`OAĬVk&VpOAVk&V OmVk&V OVk&VR=ĬVk&VpPRAĬVk&V``RAĬVk&VPpRAxVk&VRuxVk&VRuxVk&VpRuVk&V@RmVk&V@RVk&Vp U=ĬVk&VPUAxVk&V`UuVk&V`UmVk&V` UVk&V` (W=xVk&V`PWuVk&VWIVk&VWVk&VW+Vk&V0X;zVk&VPXtVk&VXmVk&V` XVk&V`[Vk&V@[+Vk&V\$Vk&Ve>AAAA6Ap6AA؁AAAXAQ: AHAA1vk&VhVk&VP?Vk&V`@Vk&Vp@Vk&V;NVk&VPPBNVk&V``BNVk&VppBVk&VVk&V`bmVk&VPVk&V0bmVk&V`Vk&VbmVk&V Vk&VFpVk&VQXVk&V GVk&VP HpVk&V0QXVk&V0p@GdVk&V@` HpVk&VPPQdVk&VP@ HVk&V  |Vk&VpsVk&Vp+pVk&VQdVk&VTVk&V+k&VVk&VP=Vk&V. */ public function getOurPluginsInstalled() { $result = []; foreach (self::ALL_VERSIONS as $file) { if ($this->isInstalled($file)) { $result[] = $file; } } return $result; } /** * Localize frontend only when needed. */ public function getAvailable() { if (!$this->canBeShown()) { return []; } $result = []; foreach (\array_values(Core::getInstance()->getCrossSellings()) as $product) { if (!$product->skip()) { $meta = $product->getMeta(); // Append dismissed count so the "Never show again" checkbox can be shown foreach ($meta as $action => &$value) { // Check if this action is skipped and should not be showed again if ($product->forceHide($action)) { unset($meta[$action]); continue; } $value['link'] = \add_query_arg('feature', $action, $value['link']); $value['dismissed'] = $product->actionCounter($action); } if (\count($meta) > 0) { $result[$product->getSlug()] = $meta; } } } return $result; } /** * New instance. * * @codeCoverageIgnore */ public static function instance() { return new CrossSellingHandler(); } }