Make this work with posts that are not created via the post-edit.php page…
-
All of our posts are created directly using the function
wp_insert_post()
. This means that the user doesn’t load up the default post-edit.php page to create the post. We do runthe_content
filter when we loop through the content.My question is, will this plugin convert YouTube embed links if the post is created via
wp_insert_post()
? If not, what can I do to make it work? Is there a custom function I can run with the YouTube link to convert it… or something similar? I haven’t delved into the source code of this yet, thought I would ask you directly for guidance.Thank you nonetheless Frank for truly one of the greatest plugins for performance.
- The topic ‘Make this work with posts that are not created via the post-edit.php page…’ is closed to new replies.