December 27, 2015 at 9:33 am
#16528
Claude Turing
Participant
Hi,
add this to your functions.php
// remove yoast premium seo nag from admin dashboard
add_action('admin_head', 'remove_yoast_license_nag_from_admin_page');
function remove_yoast_license_nag_from_admin_page() {
echo '<style>
div.error {
display: none;
}
</style>';
}
A more elegant and theme switching proof way would be to create a plugin and add the content in there. Try pluginception to create one.
Hope that helps
- This reply was modified 8 years, 10 months ago by Claude Turing. Reason: underscore added and completed the function name. oopses
- This reply was modified 8 years, 10 months ago by Claude Turing. Reason: proff should be proof