I am using the below code to output a WYSIWIG editor on my custom post type:
$settings = [ 'media_buttons' => false,'quicktags' => false ];
$content = 'Optional Message For Your Friend here... ';
$editor_id = 'postcueeditor';
wp_editor( $content, $editor_id,$settings );
When user click save, the value is in fact saving, but the data inside the textarea still shows the helper text stored in $content
. How would I go about changing this variable to show the value when something is stored in it? Is my above code too ancient for modern day WordPress installs? Any help would be greatly appreciated.