Forums
Forums / Developing with WordPress / Visual editor in custom widget
(@richardtinkler)
8 years, 7 months ago
How do I include the new WP visual editor widget functionality to my existing custom widgets?
I noticed the class-wp-widget-text.php file has some conditions which turns on legacy mode, so is there anything special I need to consider?
Thanks 🙂
(@dineshkashera)
Hello, You can create by using wp_editor() function. To get more help see the below link: https://developer.ww.wp.xz.cn/reference/functions/wp_editor/
Thanks
The topic ‘Visual editor in custom widget’ is closed to new replies.