From 7d123b2da917929e3d38eb57315ff2e8caaa6ab4 Mon Sep 17 00:00:00 2001 From: soufiane Date: Tue, 19 Nov 2024 15:47:59 +0100 Subject: [PATCH] wait #7192 @0:30 --- wp-content/themes/CCV/functions.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wp-content/themes/CCV/functions.php b/wp-content/themes/CCV/functions.php index 797dbaa9..c3c8f2fb 100644 --- a/wp-content/themes/CCV/functions.php +++ b/wp-content/themes/CCV/functions.php @@ -65,6 +65,13 @@ function force_host( $phpmailer ) { } add_action( 'phpmailer_init', 'force_host' ); + +function delete_post_type(){ + unregister_post_type( 'scientific_news' ); + unregister_post_type( 'person' ); +} +add_action('init','delete_post_type', 100); + /** * Enable sage features * @link https://roots.io/acorn/ -- 2.39.5