fb-instant-articles
fb-instant-articles copied to clipboard
Extract the logic from should_submit_post()
Extract the logic from the Instant_Article_Post::should_submit_post() method that checks several conditions for not outputting an IA to OG (like autosave, on draft, etc).
This is useful to be used in other parts of the plugin, like the IA->AMP conversion and should be moved somewhere appropriate and with a more suitable name