jUP@jUPppQjUp`0jU@+jU0>@WjUP Z`jUsjU.@WjUPZ`jUsjUjU40jU@+jU`>@WjUPPZ`jU@sjU0jU@+jU>`DjUE kjUPt kjU`tpjU<jU`P7jU`00jU0@+PjU`PjUP@`QjU`0pQ /jU`PjUpjUPQjUQ /jU`PjU`DjUEP@jU`PBpjU<jU``DjU0E kjU@PtP@jU``BjU<jU>`*jU0@ (0é M@© M@@@ EFH@h`*jU`*jU@@@@@!!@!0"PҜ@@`|P`ȇEjUPt= jUtEjUPpv=@jU``vR%jU`PvA@hjU0`vAjUv<`jU +(yppjUy<0jUy+`jU8zppjUz< jUz>`jU +H~ppjU~<0jU~+`jU@XpjU<`jU hpjU<`jUxppjU< jU>`jU +ppjU<0jU+`jUpjU<`jU`pjU<`jU@ppjU< jU>`jU +ppjU <0jU +`jUppjU0< jU0>`jUpjU<`jU`ppjUP< jUP>jU >g@0?@(@@))hhHHpp0Ӝ@0Ӝ@ܠܠ000@0@Tެa@8@e_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; } }