´øCË«ßòwp-data-controls8²ø…ˆS€ûKy}AZÌwp-customize-widgetsˆSÄ›š­|­r‰wp-format-library²ø…ŠÜó€8bfÙÑwp-list-reusable-blockst 5R ÿg¹wp-redux-routine8²ø…ˆ³A½ÑÍø�wp-is-shallow-equal…ˆcÆH…MýWçÉwp-keyboard-shortcuts£M£Òe! Ÿwp-priority-queue²ø…ˆówªŸ¬¾m»wp-reusable-blocksø…ˆƒŠÊæ d8KËoption_theme_switchedÕóOC×>·<…¿wp-server-side-renderÕó{{kubio-blog}}ëµ8²ø…ˆÓ{{kubio-home}}ëµ8²ø…ˆ#{{kubio-blog}}ƒµ8²ø…ˆs{{kubio-home}}ëµ8²ø…ˆCà¦íA·rj­option_upload_url_path.wp-block-audio h1ø…ˆ.wp-block-audio h2ø…šï.wp-block-buttons²ø…ˆó.wp-block-audio citeˆó.wp-block-buttons h6ˆ#.wp-block-buttons h5ˆó.wp-block-buttons h4ˆÃ.wp-block-buttons h3ˆ.wp-block-buttons h2ˆc.wp-block-buttons h1ˆ³.wp-block-code h6²ø…ˆ.wp-block-buttons cites.wp-block-code h5²ø…ˆÓ.wp-block-code h4²ø…ˆs.wp-block-code h3²ø…ˆC.wp-block-code h2²ø…ˆ“.wp-block-code h1²ø…ˆã.wp-block-code cite…ˆS.wp-block-column8²ø…ˆ£.wp-block-column h6…ˆÓ.wp-block-column h5…ˆ£.wp-block-column h4…ˆó.wp-block-column h3…ˆÃ.wp-block-column h2…ˆ.wp-block-column h1…ˆc.wp-block-columns²ø…ˆ #.wp-block-column cite #.wp-block-columns h6ˆ S.wp-block-columns h5ˆ #.wp-block-columns h4ˆ s.wp-block-columns h3ˆ C.wp-block-columns h2ˆ “.wp-block-columns h1ˆ ã.wp-block-details²ø…ˆ £.wp-block-columns cite£.wp-block-details h6ˆ Ó.wp-block-details h5ˆ £.wp-block-details h4ˆ ó.wp-block-details h3ˆ Ã.wp-block-details h2ˆ .wp-block-details h1ˆ c.wp-block-embed h6ø…ˆ.wp-block-details cite#.wp-block-embed h5ø…ˆ ƒ.wp-block-embed h4ø…ˆ#.wp-block-embed h3ø…ˆs.wp-block-embed h2ø…ˆC.wp-block-embed h1ø…ˆ“.wp-block-freeformø…ˆS.wp-block-embed citeˆS.wp-block-freeform h6ƒ.wp-block-freeform h5S.wp-block-freeform h4£.wp-block-freeform h3ó.wp-block-freeform h2Ã.wp-block-freeform h1.wp-block-group h6ø…ˆ 3.wp-block-freeform cite.wp-block-group h5ø…ˆ³.wp-block-group h4ø…ˆÓ.wp-block-group h3ø…ˆ #.wp-block-group h2ø…ˆ s.wp-block-group h1ø…ˆ C.wp-block-html h6²ø…°“.wp-block-group citeˆ .wp-block-html h5²ø…ˆ ã.wp-block-html h4²ø…ˆ .wp-block-html h3²ø…ˆ S.wp-block-html h2²ø…ˆ £his->social_profiles_helper->set_person_social_profiles( $params['user_id'], $social_profiles ); if ( \count( $failures ) === 0 ) { return (object) [ 'success' => true, 'status' => 200, ]; } return (object) [ 'success' => false, 'status' => 200, 'error' => 'Could not save some options in the database', 'failures' => $failures, ]; } /** * Gets the values for the social profiles. * * @param int $user_id The person ID. * * @return object The response object. */ public function get_person_social_profiles( $user_id ) { return (object) [ 'success' => true, 'status' => 200, 'social_profiles' => $this->social_profiles_helper->get_person_social_profiles( $user_id ), ]; } /** * Stores the values to enable/disable tracking. * * @param array $params The values to store. * * @return object The response object. */ public function set_enable_tracking( $params ) { $success = true; $option_value = $this->options_helper->get( 'tracking' ); if ( $option_value !== $params['tracking'] ) { $this->options_helper->set( 'toggled_tracking', true ); $success = $this->options_helper->set( 'tracking', $params['tracking'] ); } /** * Action: 'wpseo_post_update_enable_tracking' - Allows for Hiive event tracking. * * @param array $new_value The new value. * @param array $old_value The old value. * @param bool $failure Whether the option failed to be stored. * * @internal */ // $success is negated to be aligned with the other two actions which pass $failures. \do_action( 'wpseo_ftc_post_update_enable_tracking', $params['tracking'], $option_value, ! $success ); if ( $success ) { return (object) [ 'success' => true, 'status' => 200, ]; } return (object) [ 'success' => false, 'status' => 500, 'error' => 'Could not save the option in the database', ]; } /** * Checks if the current user has the capability a specific user. * * @param int $user_id The id of the user to be edited. * * @return object The response object. */ public function check_capability( $user_id ) { if ( $this->can_edit_profile( $user_id ) ) { return (object) [ 'success' => true, 'status' => 200, ]; } return (object) [ 'success' => false, 'status' => 403, ]; } /** * Stores the first time configuration state. * * @param array $params The values to store. * * @return object The response object. */ public function save_configuration_state( $params ) { // If the finishedSteps param is not present in the REST request, it's a malformed request. if ( ! isset( $params['finishedSteps'] ) ) { return (object) [ 'success' => false, 'status' => 400, 'error' => 'Bad request', ]; } // Sanitize input. $finished_steps = \array_map( '\sanitize_text_field', \wp_unslash( $params['finishedSteps'] ) ); $success = $this->options_helper->set( 'configuration_finished_steps', $finished_steps ); if ( ! $success ) { return (object) [ 'success' => false, 'status' => 500, 'error' => 'Could not save the option in the database', ]; } // If all the five steps of the configuration have been completed, set first_time_install option to false. if ( \count( $params['finishedSteps'] ) === 3 ) { $this->options_helper->set( 'first_time_install', false ); } return (object) [ 'success' => true, 'status' => 200, ]; } /** * Gets the first time configuration state. * * @return object The response object. */ public function get_configuration_state() { $configuration_option = $this->options_helper->get( 'configuration_finished_steps' ); if ( $configuration_option !== null ) { return (object) [ 'success' => true, 'status' => 200, 'data' => $configuration_option, ]; } return (object) [ 'success' => false, 'status' => 500, 'error' => 'Could not get data from the database', ]; } /** * Checks if the current user has the capability to edit a specific user. * * @param int $person_id The id of the person to edit. * * @return bool */ private function can_edit_profile( $person_id ) { return \current_user_can( 'edit_user', $person_id ); } /** * Gets the old values for the given fields. * * @param array $fields_names The fields to get the old values for. * * @return array The old values. */ private function get_old_values( array $fields_names ): array { $old_values = []; foreach ( $fields_names as $field_name ) { $old_values[ $field_name ] = $this->options_helper->get( $field_name ); } return $old_values; } } {"id":222,"count":1,"description":"","link":"https:\/\/artcontent.eu\/nl\/tag\/armbanden\/","name":"armbanden","slug":"armbanden","taxonomy":"post_tag","meta":[],"yoast_head":"\narmbanden Archives - Artcontent.eu<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/artcontent.eu\/nl\/tag\/armbanden\/\" \/>\n<meta property=\"og:locale\" content=\"nl_NL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"armbanden Archives - Artcontent.eu\" \/>\n<meta property=\"og:url\" content=\"https:\/\/artcontent.eu\/nl\/tag\/armbanden\/\" \/>\n<meta property=\"og:site_name\" content=\"Artcontent.eu\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"CollectionPage\",\"@id\":\"https:\\\/\\\/artcontent.eu\\\/nl\\\/tag\\\/armbanden\\\/\",\"url\":\"https:\\\/\\\/artcontent.eu\\\/nl\\\/tag\\\/armbanden\\\/\",\"name\":\"armbanden Archives - Artcontent.eu\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/artcontent.eu\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/artcontent.eu\\\/nl\\\/tag\\\/armbanden\\\/#breadcrumb\"},\"inLanguage\":\"nl-NL\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/artcontent.eu\\\/nl\\\/tag\\\/armbanden\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/artcontent.eu\\\/nl\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"armbanden\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/artcontent.eu\\\/#website\",\"url\":\"https:\\\/\\\/artcontent.eu\\\/\",\"name\":\"Artcontent.eu\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/artcontent.eu\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"nl-NL\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"armbanden Archives - Artcontent.eu","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/artcontent.eu\/nl\/tag\/armbanden\/","og_locale":"nl_NL","og_type":"article","og_title":"armbanden Archives - Artcontent.eu","og_url":"https:\/\/artcontent.eu\/nl\/tag\/armbanden\/","og_site_name":"Artcontent.eu","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"CollectionPage","@id":"https:\/\/artcontent.eu\/nl\/tag\/armbanden\/","url":"https:\/\/artcontent.eu\/nl\/tag\/armbanden\/","name":"armbanden Archives - Artcontent.eu","isPartOf":{"@id":"https:\/\/artcontent.eu\/#website"},"breadcrumb":{"@id":"https:\/\/artcontent.eu\/nl\/tag\/armbanden\/#breadcrumb"},"inLanguage":"nl-NL"},{"@type":"BreadcrumbList","@id":"https:\/\/artcontent.eu\/nl\/tag\/armbanden\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/artcontent.eu\/nl\/"},{"@type":"ListItem","position":2,"name":"armbanden"}]},{"@type":"WebSite","@id":"https:\/\/artcontent.eu\/#website","url":"https:\/\/artcontent.eu\/","name":"Artcontent.eu","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/artcontent.eu\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"nl-NL"}]}},"_links":{"self":[{"href":"https:\/\/artcontent.eu\/nl\/wp-json\/wp\/v2\/tags\/222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/artcontent.eu\/nl\/wp-json\/wp\/v2\/tags"}],"about":[{"href":"https:\/\/artcontent.eu\/nl\/wp-json\/wp\/v2\/taxonomies\/post_tag"}],"wp:post_type":[{"href":"https:\/\/artcontent.eu\/nl\/wp-json\/wp\/v2\/posts?tags=222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}