/U`?<U`p?HUp<HUp`<GU`<HU`<HUpQGUpR=0UR;/UR<sUPRuU@`RAURUpRHUpSHUp`SHU`<HU`<HUP`<&0Ue;U` eRUpe68Up`pe7Up`e8U`PetVUP`eBU`e:U`peB/U`e<uUP` e&"UPg>p` p sF'Kϣ$/** * Get schema for properties of a widget instance (item). * * @since 4.9.0 * * @see WP_REST_Controller::get_item_schema() * @see WP_REST_Controller::get_additional_fields() * @link https://core.trac.wordpress.org/ticket/35574 * * @return array Schema for properties. */0v`H@h`H0`H0`H@P aH@P aHБ`He aH*`H| aH(,`H,`H`H`H.6UPq?Upr=0Ur;U,rp/Upr<?UpPr2NU`rt/Upr<sUpPruIUP`ruUpruUPpr&Upt=IUPPuueUPwQUpwGUp`wAUpwuU`pw&eUP@p|QUp`|+U` }?ѠU}0U ;VU`PB/Up<Up(CU>`HF/zy/** * Render the media on the frontend. * * @since 4.9.0 * * @param array $instance Widget instance props. */`H`HN aHN aH9`Hx`Hx`HKLbH@P aH@P aH`H`H[LbH`H`H'`H0] aH`H`Hk`H| aH`H0R`H`H.W(\LbH`HБ`H`HX`HCQ`HwP aH18Q aHHXv`H UPqU<IUP0&0U ;VUPPBU<IU`&U``p/U<3U@M~Up NU&0UP(;VUpPBNU0`t/U<U`?ѠU:U*AU0U0;VUPPBU`8 } return $domains; } /** * Return the support articles. Fetch them if not found (or on a schedule). * * @return mixed|\WP_REST_Response */ protected function supportArticles() { $supportArticles = get_transient('extendify_supportArticles'); if ($supportArticles === false) { $supportArticles = SupportArticlesController::fetchArticles()->get_data(); $this->cacheData('supportArticles', $supportArticles); } return $supportArticles; } /** * This stores the data as a transient. * * @param string $functionName The function name that we use in the store. * @param array $data The extracted data returned from the HTTP request. * @return void */ protected function cacheData($functionName, $data) { set_transient('extendify_' . $functionName, Sanitizer::sanitizeArray($data)); } }