ЯVUЯVUDUVUVUDU  @VU@VUDU D& VU VUDUమVU@VU.@VU@VUDUD4pVUpVUDU D:VUVUDU D1@VUVUVUDU+FرVUVUVUDUVUVUرVUDU VU PVUVU@DUF.? UUKm*DDU"ЮVUЮVU0DU FEVUpVU*VUpVUDUD(VU1hVUVUPDUسVUVU9VU(VUPDU?@VUhVUPDU>FG(VUVUpDUZFPVUVUOسVUسVUPDU=VVUVUDU F\hޮVUhޮVUDU VU߮VU dVU VU@DUF,? UUJm*DDUpPVUPVU0fDU&FE`VUVUxమVUVUDUDVUЯVU!.^ersionQVU[m\m$new_ma1pVU@VUXȮVUXȮVUDUD VU XȮVUPVUDUVUȶVU8VU8VU2DUFXȮVUVUP4DU ȶVUVU VUVU@DUF1? UUNm*DDU+VUVUDU зVU2VUVUDUpVUVU:VUVU2DUFPVUVU BVUVU@DUF3? UUPm*DDUNXVUXVUlDUVU VUV VU VUDUF\VUVUPDUCcVUзVUP4DU VUVU kpVUVU@DUF2? UUPm*DDUwPVUPVUDUD0VU~PVUVUDUpVUVU0VUXVUDUDpVUpVU躮VUPDU@VU DUEpVUpVUDUPVU0VU@aDUEVUȻVU8VUVUDUFXVUXVUPDUBȻVUȻVUDUF8VUVUVUDUзVUXVUp`DURF輮VUVUpVUpVUPDUAVUVU`DUuF VU輮VU輮VUDU pXVU VU VUcDU :VUVUXVUXVUDUнVUXVUVUDU нVUVUPDU@FVU1]9;`1\"Q⿮VUPnn $skip_domainsAe_container->add_image_by_id( $indexable->open_graph_image_id ); return; } if ( $indexable->open_graph_image ) { $meta_data = []; if ( $indexable->open_graph_image_meta && \is_string( $indexable->open_graph_image_meta ) ) { $meta_data = \json_decode( $indexable->open_graph_image_meta, true ); } $image_container->add_image( \array_merge( (array) $meta_data, [ 'url' => $indexable->open_graph_image, ] ) ); } } /** * Retrieves the default Open Graph image. * * @param Images $image_container The image container. */ protected function add_from_default( Images $image_container ) { if ( $image_container->has_images() ) { return; } $default_image_id = $this->options->get( 'og_default_image_id', '' ); if ( $default_image_id ) { $image_container->add_image_by_id( $default_image_id ); return; } $default_image_url = $this->options->get( 'og_default_image', '' ); if ( $default_image_url ) { $image_container->add_image_by_url( $default_image_url ); } } /** * Retrieves the default Open Graph image. * * @param Meta_Tags_Context $context The context. * @param Images $image_container The image container. */ protected function add_from_templates( Meta_Tags_Context $context, Images $image_container ) { if ( $image_container->has_images() ) { return; } if ( $context->presentation->open_graph_image_id ) { $image_container->add_image_by_id( $context->presentation->open_graph_image_id ); return; } if ( $context->presentation->open_graph_image ) { $image_container->add_image_by_url( $context->presentation->open_graph_image ); } } /** * Retrieves an instance of the image container. * * @codeCoverageIgnore * * @return Images The image container. */ protected function get_image_container() { $image_container = new Images( $this->image, $this->url ); $image_container->set_helpers( $this->open_graph_image ); return $image_container; } }