args = compact( 'page', 'staticPostId', 'integration' ); $hash = md5( implode( '', array_map( 'strval', $this->args ) ) ); if ( isset( $this->cache[ $hash ] ) ) { return $this->cache[ $hash ]; } $this->data = parent::getVueData( $page, $staticPostId, $integration ); $this->setInitialData(); $this->cache[ $hash ] = $this->data; return $this->cache[ $hash ]; } /** * Set Vue initial data for Lite. * * @since 4.8.6.1 * * @return void */ private function setInitialData() { // Override the upgrade URL for Lite users $this->data['urls']['upgradeUrl'] = apply_filters( 'aioseo_upgrade_link', AIOSEO_MARKETING_URL . 'lite-upgrade/' ); } }