Support

Account

Home Forums Backend Issues (wp-admin) Set Textarea to Uneditable Reply To: Set Textarea to Uneditable

  • Interesting. I have a custom plugin I’m creating, and am adding this code in one of the files in the /includes folder for that plugin.

    The file name is funbotic-parent-child-relationships.php. And in the funbotic.php file, I’ve made sure to include it:
    require_once dirname( __FILE__ ) . '/includes/funbotic-parent-child-relationships.php';

    Does this need to be in functions.php, or something similar? If so, why would it not function as part of the code of a plugin? (I’m still new to WordPress and web development in general, so I’m trying to learn as much as I can!)