fb-instant-articles icon indicating copy to clipboard operation
fb-instant-articles copied to clipboard

Extract the logic from should_submit_post()

Open vkama opened this issue 8 years ago • 0 comments

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

vkama avatar Jun 16 '17 10:06 vkama