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 '
This collagen-rich bone broth instantly boosts their bowl with extra hydration, thanks to humanely-raised turkey bones, slow-simmered with functional ingredients like non-GMO pumpkin, carrot, and turmeric. Simply pour over their favorite kibble, freeze dried raw, or freshly crafted recipe to elevate nutrition and add more variety and flavor to mealtime!
Additional information
Size
12 fl oz, 33.8 fl oz
Reviews (0)
Reviews
There are no reviews yet.
Be the first to review “Homestead Turkey Bone Broth for Cats” Cancel reply
Homestead Turkey Bone Broth for Cats$3.00–$5.10Price range: $3.00 through $5.10
Reviews
There are no reviews yet.