Subscriber gets congratulation messages about X-Theme in dashboard

Hello,

How can I disable the X-theme (ThemeCo) messages in the dashboard for subscribers. For a subscriber it is very confusing getting messages from the theme builder of the website. He/she does not know what that is.

Hi there,

Please add this code in the child theme’s functions.php file:

add_action( 'after_setup_theme','remove_admin_messages', 100 );

function remove_admin_messages() {     
  // Declare theme integration flags
  cornerstone_theme_integration( array(
  'remove_global_validation_notice' => false,
  'remove_themeco_offers'           => false,
  'remove_purchase_link'            => false,
  'remove_support_box'              => false
  ) );
  
}

Hope this helps.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.