Support

Account

Home Forums General Issues PHP boolean expression to test if oembed has content

Solved

PHP boolean expression to test if oembed has content

  • Is there a simple PHP boolean expression that will determine if oEmbed has content on a post?

    I’m using the Divi Builder and there is a visibility option which will turn off a module if the PHP boolean expression returns false.

    I’ve tried
    get_field(‘oembed’);

  • SOLVED:

    get_field(’embed_code’);

    works

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘PHP boolean expression to test if oembed has content’ is closed to new replies.