L
L
Laid2016-03-29 14:54:57
WordPress
Laid, 2016-03-29 14:54:57

Through which function to check if the WordPress main editor is full?

Tell me please.
I've been racking my brains for several hours (mainly my keyboard and Google)
How to make a check for filling in the WordPress main editor?
No matter what, you need:
if (filled) {
}
if(not filled){}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Kozlov, 2016-03-29
@stoik_kpd

Editor-in-chief is content??
If yes, then you can

if (!empty(get_the_content())){
Заполнено
} else {
Не заполнено
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question