copy the Value from one Meta to another Meta
If you just need get_post_meta( $post_id, ‘ywbc_barcode_display_value_custom_field’, $single ); to return the value that’s stored in ean, you can filter the get_post_meta() call to return that value: add_filter( ‘get_post_metadata’, ‘wpse424858_filter_meta_value’, 10, 4 ); /** * Filters the barcode display meta value. * * @param mixed $value The existing meta value. * @param int $id The … Read more