Support

Account

Home › Forums › ACF PRO › has_shortcode not detected? › Reply To: has_shortcode not detected?

  • This worked for me

    $post_meta_sql = "select * from $wpdb->postmeta where post_id = {$post_id} and meta_key not like '\_%' and meta_value like '%[shortcode%]'";