W
W
wp_starter2020-04-20 12:22:09
WordPress
wp_starter, 2020-04-20 12:22:09

How to hide plugin fields in WordPress editor?

Can you please tell me how to hide the fields generated by the plugin in the WordPress editor?
Is it possible to create a custom CSS file that will override plugin meta box styles?

It's about the Tutor LMS plugin. There, when creating a course, there are extra fields in the editor.
5e9d69502e54f241375209.jpeg

I also tried using functions, but it seems I am passing the wrong parameters ..

function remove_post_custom_fields()
{
  remove_meta_box('tutor-metabox-course-settings-tabs', 'post', 'normal'); 

}
add_action('admin_menu', 'remove_post_custom_fields');

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question