@%QUVP?pQUVpDsQUV"G"QUVPHrQUVHrQUVHrQUVHrQUVHrQUVHrQUVH`QUVPtQUV<QUV`p0QUV`pR9QUV>%QUV@>,%B,%B*B+BXV%B01B`*Bc'B%B %BxB%B-B-BXH,Bx/20BB%Bp/@%QUVP?@CQUVp=0QUVPR1QUVPA`{QUV``AޅQUVQUV`@QUV p QUV<&QUVQ&QUVQ&QUVQQUVpQUV`{QUV@+QUV``@CQUVpP0=@2QUV`Pu@2QUVp`uޅQUV  QUV >%QUV>B*BX;BX;B.B=B.B -/xB@/%BV}"@%QUVPT?@CQUV@U=`{QUV0PUA QUV`U<QUV`@U+%QUVV>pQUVpYDPQUVPZt@CQUV[=`{QUVP[A QUV[<QUV`[2@CQUVp`]= QUV]<CQUV0]G`QUVp]tQUVY< QUVp]>%QUV`>x!+B+Bv%Bv%B@QUVp0QUV`PB0QUVP`B QUV<QUVp@CQUV(=@2QUVpPu QUV< QUV>%QUV>h=Bh=BBx[%BX;BX;B;B/mn2O Yɀelementor_pro_facebook_aV}"@%QUVP?p'QUVPpspQUVpp.@߉QUVPQഇQUV QUVp4pQUVp`p.p'QUVPPs QUVp4QUVp`+@߉QUVPQQUV`QUV`{pQUV`.PΊQUV` QUV4{ $meta = []; } else { $meta = Data\Plugin::get_option( 'pta', $post_type ) ?: []; } /** * @since 4.2.0 * @note Do not delete/unset/add indexes! It'll cause errors. * @param array $meta The current post type archive meta. * @param int $post_type The post type. * @param bool $headless Whether the meta are headless. */ return static::$meta_memo[ $post_type ] = \apply_filters( 'the_seo_framework_post_type_archive_meta', array_merge( static::get_default_meta( $post_type ), $meta, ), $post_type, $is_headless, ); } /** * Returns an array of all public post type archive option defaults. * * @since 4.2.0 * @since 5.0.0 1. Moved from `\The_SEO_Framework\Load`. * 2. Renamed from `get_all_post_type_archive_meta_defaults`. * * @return array[] The Post Type Archive Metadata default options * of all public Post Type archives. */ public static function get_all_default_meta() { $defaults = []; foreach ( Post_Type::get_public_pta() as $pta ) $defaults[ $pta ] = static::get_default_meta( $pta ); return $defaults; } /** * Returns an array of default post type archive meta. * * @since 4.2.0 * @since 5.0.0 1. Moved from `\The_SEO_Framework\Load`. * 2. Renamed from `get_post_type_archive_meta_defaults`. * 3. Added 'tw_card_type' value. * * @param int $post_type The post type. * @return array The Post Type Archive Metadata default options. */ public static function get_default_meta( $post_type = '' ) { /** * @since 4.2.0 * @param array $defaults * @param int $term_id The current term ID. */ return (array) \apply_filters( 'the_seo_framework_get_post_type_archive_meta_defaults', [ 'doctitle' => '', 'title_no_blog_name' => 0, 'description' => '', 'og_title' => '', 'og_description' => '', 'tw_title' => '', 'tw_description' => '', 'tw_card_type' => '', 'social_image_url' => '', 'social_image_id' => 0, 'canonical' => '', 'noindex' => 0, 'nofollow' => 0, 'noarchive' => 0, 'redirect' => '', ], $post_type ?: Query::get_current_post_type(), ); } }