zohaib87
1/27/2016 - 1:56 PM

Redux remove demo mode.php

// Remove demo mode
function remove_demo_mode() {
  if ( class_exists('ReduxFrameworkPlugin') ) {
    remove_filter( 'plugin_row_meta', array( ReduxFrameworkPlugin::get_instance(), 'plugin_metalinks'), null, 2 );
  }
  if ( class_exists('ReduxFrameworkPlugin') ) {
    remove_action('admin_notices', array( ReduxFrameworkPlugin::get_instance(), 'admin_notices' ) );
  }
}
add_action('init', 'remove_demo_mode');