From: soufiane Date: Tue, 19 Nov 2024 14:47:59 +0000 (+0100) Subject: wait #7192 @0:30 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=7d123b2da917929e3d38eb57315ff2e8caaa6ab4;p=spinepro.git wait #7192 @0:30 --- 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/