How to make WP Classic Editor required in jQuery

It looks like you’re trying to validate the content of a WordPress Classic Editor, ensuring it’s not empty, both in HTML and Visual modes. The issue arises with the Visual mode which is powered by TinyMCE. Unlike standard HTML form elements, TinyMCE’s content isn’t directly linked with its underlying textarea element in a way that … Read more

Function to consider a plugin activated for selected users only

yes, this is possible by creating a new function because thank to wordpress function activate_plugin() that can be used to activate the classic editor plugin for specific users // Define the usernames of the users who should have the Classic Editor enabled $CE_users = array(‘user1’, ‘user2’); // Check if the current user is logged in … Read more