hp
/** Plugin Name: Promise comparison block */
defined('ABSPATH') || exit;
add_action('init', function(){
$dir=WPMU_PLUGIN_DIR.'/promise-block/'; $url=content_url('/mu-plugins/promise-block/');
wp_register_style('promise-block',$url.'style.css',[],filemtime($dir.'style.css'));
wp_register_script('promise-editor',$url.'editor.js',['wp-blocks','wp-element','wp-block-editor','wp-components','wp-server-side-render'],filemtime($dir.'editor.js'),true);
wp_register_script('promise-front',$url.'front.js',[],filemtime($dir.'front.js'),true);
$defaults=['Humanely-raised, ethically sourced proteins','Committed to decreasing our impact on the planet','Premium nutrition with 100% traceable ingredients','3rd party certified for added verification & total peace of mind','No corn, wheat, or soy','Sustainably-sourced seafood, always','Raised without antibiotics or added hormones','Non-GMO fruits and veggies'];
$attributes=['heading'=>['type'=>'string','default'=>'The Open Farm Promise'],'body'=>['type'=>'string','default'=>"Our efforts to Do Some Good ® translate to knowing your pet is getting the best nutrition possible. We go to the ends of the earth to leave no doubt in your pet's bowl – just premium, high quality nutrition held to the highest standards possible."],'labels'=>['type'=>'array','default'=>$defaults],'images'=>['type'=>'array','default'=>array_fill(0,10,'')],'button'=>['type'=>'string','default'=>'DISCOVER THE DIFFERENCE'],'target'=>['type'=>'object','default'=>[]]];
register_block_type('openfarm/promise',['api_version'=>2,'attributes'=>$attributes,'editor_script'=>'promise-editor','style'=>'promise-block','view_script'=>'promise-front','render_callback'=>function($a) use($url,$defaults){
$images=$a['images']??[]; $labels=$a['labels']??$defaults; $image=function($i)use($images,$url){return esc_url(!empty($images[$i])?$images[$i]:$url.$i.'.png');};
$item=function($i)use($image,$labels,$defaults){return '
RawMix Tide & Terrain Freeze Dried Raw Morsels for Dogs
$39.99Original price was: $39.99.$12.00Current price is: $12.00.
Free shipping
Money-back guarantee
Secured payment
Guaranteed Safe Checkout
Description
Inspired by the wild, this freeze-dried blend of humanely-raised beef and organs, and Ocean Wise recommended pollock and salmon, gives your dog the protein-packed nutrition they naturally crave. This recipe features 95% meat, organ, and bone, along with organic, non-GMO fruits and vegetables – all coated in a tasty beef bone broth for a highly nutritious complete and balanced topper or meal.
Additional information
Size
13.5 oz
Reviews (0)
Reviews
There are no reviews yet.
Be the first to review “RawMix Tide & Terrain Freeze Dried Raw Morsels for Dogs” Cancel reply
RawMix Tide & Terrain Freeze Dried Raw Morsels for Dogs$39.99Original price was: $39.99.$12.00Current price is: $12.00.
Reviews
There are no reviews yet.