How to null Real Media Library
(Thanks to
@startop )
1. In index.php after line 16 with
PHP:
defined('ABSPATH') or die('No script kiddies please!'); // Avoid direct file request
add the following 2 lines:
PHP:
update_site_option( 'wpls_license_real-media-library', 'activated' );
update_site_option( 'wpls_activation_id_real-media-library', 'activated' );
You can also add hereafter one of the following to disable if you get some annoying message
PHP:
add_filter( 'option_rpm-wpc-hint_real-media-library', '__return_false' );
PHP:
delete_option ( 'rpm-wpc-hint_real-media-library' );
2. Go to the following file \real-media-library\vendor\devowl-wp\real-product-manager-wp-client\src\view\PluginUpdateView.php at line 75 you see the following, add 'return;' right after
PHP:
public function after_plugin_row()
{
It should look like this
PHP:
/**
* Show a notice in the plugins list that the plugin is not activated, yet.
*/
public function after_plugin_row()
{
return;
if ($this->getPluginUpdate()->getCurrentBlogLicense()->isFulfilled()) {
[B][U]return;[/U][/B]
}
$wp_list_table = \_get_list_table('WP_Plugins_List_Table');
Done!