How to add WordPress Editor with validation

Hello friends, we all knows there is some library,js, CSS file for adding editor on our code. compare to Core PHP in WordPress its very easy to add editor because WordPress inbuilt provides editor functions and i already added in so many wordpress projects i feel so happy because its not much more line of code for implement editor so lets i exaplain you how to add wordpress menu on any pages.

in above code description is WordPress editor’s id and for adding any default content $content1 i have added. so now i explain you how to add its validation using Jquery code.

you need to call validation function on any button or anywhere you want to check its validation..

That’s it :)