Question Detail

I am using strip_tags() function:

strip_tags($variable_name) ;

but code is not working.

 


Thread Reply

Anonymous

- 1 years ago

You can use below function:

wp_strip_all_tags($variable_name);

It works perfect.

goldy

- 1 years ago

You can use this below function:

wp_strip_all_tags($variable_name);

It works perfect.