/** * Astra Child Theme functions and definitions * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package Astra Child * @since 1.0.0 */ /** * Define Constants */ define( 'CHILD_THEME_ASTRA_CHILD_VERSION', '1.0.0' ); /** * Enqueue styles */ function child_enqueue_styles() { wp_enqueue_style( 'astra-child-theme-css', get_stylesheet_directory_uri() . '/style.css', array('astra-theme-css'), CHILD_THEME_ASTRA_CHILD_VERSION, 'all' ); } add_action( 'wp_enqueue_scripts', 'child_enqueue_styles', 15 ); /* * SLACK NOTIFICATION * */ add_action('woocommerce_thankyou', 'notify_slack_new_order', 10, 1); function notify_slack_new_order($order_id) { if (!$order_id) return; $order = wc_get_order($order_id); $webhook_url = 'https://hooks.slack.com/services/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'; // Replace with your webhook // Get customer info $customer_name = $order->get_formatted_billing_full_name(); $totalStrip = wp_strip_all_tags($order->get_formatted_order_total()); $total = preg_replace('$', "$", $totalStrip); // Get product details $items = $order->get_items(); $product_lines = []; foreach ($items as $item) { $product_lines[] = $item->get_name() . ' × ' . $item->get_quantity(); } $product_list = implode("\n• ", $product_lines); // Get shipping address $shipping_address_html = $order->get_formatted_shipping_address(); if ($shipping_address_html) { $shipping_address_text = preg_replace('//i', "\n", $shipping_address_html); $shipping_address = wp_strip_all_tags($shipping_address_text); } else { $shipping_address = 'No shipping address'; } // Build Slack message $message = [ 'text' => "*🛒 New Order From Blueprint Press Internationale*\n" . "*Order #:* {$order_id}\n" . "*Customer:* {$customer_name}\n" . "*Total:* {$total}\n" . "*Products:*\n• {$product_list}\n" . "*Shipping Address:*\n{$shipping_address}" ]; wp_remote_post($webhook_url, [ 'body' => json_encode($message), 'headers' => ['Content-Type' => 'application/json'], ]); } My Pet Peeve - Blueprint Press Internationale

My Pet Peeve

$3.99$16.99

ISBN: N/A SKU: N/A Category:
Guaranteed Safe Checkout

Molly is a lonely little girl who is looking for a friend. She lives on a farm with her mom and dad. Molly has always loved cats and wants to get a cat, but her father sneezes when he gets around cats, so he tells her she cannot have one. Molly asks and asks and asks again, but the answer is always “No.” Then one day, Molly finds a little kitten hiding in the barn and wants to keep her, of course. What will she do? Should she hide the kitten from her dad? Will dad see the kitten and think it is so adorable he will change his mind about letting Molly keep the cat? What would you do if you found the cutest kitten ever? How will Molly solve this problem?

Dr. Renee Rodgers Barstack has a doctorate degree in English Education. She started out teaching seventh-grade English and went from there to teach at several colleges and a university. She is currently teaching Children’s Literature at Glendale Community College in Arizona. She lives in Phoenix with her three cats, two tortoises, and one dog. Munchkin is one of her cats, and she, along with Dr. Barstack’s students, inspired her to write My Pet Peeve. She already has a sequel in progress called Pet Peeve Jumps the Wall. Look for more stories about Munchkin, also known as “my pet peeve,” to follow. The illustrator, Mar Fandos, is an artist living in Argentina, and she has illustrated several other children’s picture books.

Varations

eBook, Hardcover, Paperback

Reviews

There are no reviews yet.

Be the first to review “My Pet Peeve”

Your email address will not be published. Required fields are marked *

Shopping Cart