WP4 Fatal error – get_post_format_video()
-
Hi all,
I got a fatal error on embedded videos after upgrading from WP 3.x to WP 4.
Users could submit embed links to videos through a form which would be called on the page by the_post_format_video in WP3. In WP4 I’m getting the following error:
Fatal error: Call to undefined function get_post_format_video()
The error points to the line with the following code:
<section id="VideoContainer"> <?php the_post_format_video(); ?> </section>
Has there been something changed in WP4 on this part that I don’t know about? What code should I use now?
Thanks guys,
Tommy
- The topic ‘WP4 Fatal error – get_post_format_video()’ is closed to new replies.