Osclass Documentation
Download OslcassCodeIssuesSupport Forum
v3.9.0
v3.9.0
  • Osclass
  • Beginners
    • Install
    • Updating Osclass
    • Osclass Cron
  • Configuring Osclass
    • Mail Server
    • Installing Locations
    • Increase PHP memory limit
    • Improving Search
    • Configure Cache
  • Developers
    • Basic Osclass
      • Contribute to Osclass
      • Coding Style
      • Debug PHP Errors
      • Debug SQL Queries
      • How to write a bug report
      • Database model and diagram
    • Plugins and Themes
      • Auto-update themes and plugins
      • Administrator Menus
      • Admin Toolbar
      • Style and scripts enqueue functions
      • Routes
  • Legacy Installations Pre 3.8.0
    • Introduction
    • Remove calls to Osclass
      • Delete featured products from Admin.
      • Stop auto upgrading.
      • Stop checking for updates from Osclass.
      • Disable Upgrade page
    • Remove Market from admin frontend
      • Delete Market from Admin menu.
      • Delete Market from Plugins.
      • Delete Market from Appearance (themes).
      • Delete Connect Market from Admin toolbar.
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Legacy Installations Pre 3.8.0
  2. Remove Market from admin frontend

Delete Market from Plugins.

Open the following file:

oc-admin/themes/modern/plugins/index.php

Locate and remove this code:

<li><a href="#market" onclick="window.location = '<?php echo osc_admin_base_url(true) . '?page=market&action=plugins'; ?>'; return false; "><?php _e('Market'); ?></a></li>

​

Open the following file:

oc-admin/themes/modern/plugins/add.php

Locate and remove this code:

<div class="flashmessage flashmessage-info flashmessage-inline" style="display:block;">    <p class="info"><?php printf( __('Download more plugins at %s'), '<a href="'.osc_admin_base_url(true) . '?page=market&action=plugins">Market</a>'); ?></p></div>
PreviousDelete Market from Admin menu.NextDelete Market from Appearance (themes).

Last updated 5 years ago

Was this helpful?