Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
For these sorts of issues (and you are right) please send the details to the plugin team via plugins [at] ww.wp.xz.cn and they can deal with this.
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
By the way you can remove that from the admin menu without hacking that plugin.
Create a new file in wp-content/plugins named remove-per-advert-menu.php and put these lines in it.
<?php
/*
Plugin Name: Remove PER admin menu advert
Description: This plugin removed the Page Expiration Robot advertisement from the admin menu
Version: 0.1
*/
add_action( 'init', 'mh_no_menu' , 15 );
function mh_no_menu () {
remove_action( 'admin_bar_menu','per_admin_bar_menu', 1000);
}
Activate that new plugin and the advertisement link will be gone.
Edit: Whoops! That only does it for the admin menu (natually). I fix.
Edit no. 2: Fixed again. The hook into init is probably wasteful but that plugin now works and removed the advert link.
Hi Jan,
So, if I understood this will still be visible to registered users. And in the Admin Dashboard will be hidden.
As a temporary solution this is good advice. Thank you. However, this type of advertising should not be there.
Regards
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
So, if I understood this will still be visible to registered users. And in the Admin Dashboard will be hidden.
Nope. I fixed it. The added menu will be removed in all cases now and invisible to all. 😉
However, this type of advertising should not be there.
I agree, but I am not part of the plugin team. They work really hard. 😉 Send them the details and the plugin team can make a determination.
Hi Jan,
I understood. Thank you very much.
Regards