add pets test

This commit is contained in:
2023-12-22 22:28:05 +03:00
parent 44ef31d4eb
commit e7fa783a51
7 changed files with 634 additions and 4 deletions

View File

@@ -23,6 +23,12 @@ require ABSPATH.'/vendor/autoload.php';
//wp_clear_scheduled_hook( 'wp_update_plugins' );
add_action( 'after_setup_theme', function(){
if ( !is_admin() )
show_admin_bar( false );
});
#отключаем эмодзи
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );