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Ǝ; X1h Ty}H5hyf8h100=PmHc1lOGD01A` NۂX1I 9ڞiB1cHx1atD412WH 2W80#1q(?hF J1K@WL|17XyՀu.(<8O2&@H9AUyAԞJ71<-d@21 L2di;1G Oh PV.ƞ}XO8iHO5SO 0HV1Hnޞ~ 1bDh͏25G "J(-ll-1w$Osh7kƄapIL1B OmonЮ1D P4w'M88lG1~'Hw/P1XO06(aB1.o:|1D nL"[@1k6*,=WW}x81?(OqH8/24D[81-pTߞK5Y1a6,מ195zis_meta_context_allowed( $context, $allowed_context ) ) { return ''; } return 'neve_single_' . $context . '_' . Config::MODS_CONTENT_WIDTH; } /** * Return the meta to use as context. * * @since 3.1.0 * * @param string $context The context to get the meta for. * @param string $meta The meta key to get the final meta for. * @param array $allowed_context The allowed contexts to check against. * * @return string */ public function get_cover_meta( $context, $meta, $allowed_context = [ 'post', 'page' ] ) { if ( ! $this->is_meta_context_allowed( $context, $allowed_context ) ) { return ''; } $allowed_meta = [ Config::MODS_COVER_HEIGHT, Config::MODS_COVER_PADDING, Config::MODS_COVER_BACKGROUND_COLOR, Config::MODS_COVER_OVERLAY_OPACITY, Config::MODS_COVER_TEXT_COLOR, Config::MODS_COVER_BLEND_MODE, Config::MODS_COVER_TITLE_ALIGNMENT, Config::MODS_COVER_TITLE_POSITION, Config::MODS_COVER_BOXED_TITLE_PADDING, Config::MODS_COVER_BOXED_TITLE_BACKGROUND, ]; if ( ! in_array( $meta, $allowed_meta, true ) ) { return ''; } return 'neve_' . $context . '_' . $meta; } /** * Returns default values for "neve_single_post_meta_fields" theme mod. * * @return string */ public static function get_default_single_post_meta_fields() { /** * We replaced the old ordering control neve_post_meta_ordering with a repeater control named neve_single_post_meta_fields. * Because of that, we need to add some transformations: */ $default = wp_json_encode( [ 'author', 'date', 'comments' ] ); // Take the old control value and bring it to a form that can be used in a repeater. $default_value = neve_get_default_meta_value( 'neve_post_meta_ordering', $default ); // We need to get the value of the meta on blogs. return get_theme_mod( 'neve_blog_post_meta_fields', wp_json_encode( $default_value ) ); } }