get_the_content includes empty lines in a negate expression
-
Hi!
I found that by using the Divi content visibility condition:
get_the_content() !==”get_the_content is returning true for woocommerce products that has only empty lines in the product description.
My first thought was that I should try to construct a regex to dont include those product. Haven’t found a working regex yet.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘get_the_content includes empty lines in a negate expression’ is closed to new replies.