This version improves upon the original plugin in a couple key ways:
add_post_type_support( 'my-cpt', 'bitly' )works as expected, without needing to register additional actions for your custom post type.
- Introduces a
wp bitly backfillWP-CLI command for generating Bitly short URLs on old posts, instead of doing the backfill with wp-cron.
Like the original, the plugin filters
pre_get_shortlink to return your Bitly short URL for
Feature request, bug report, or violent dissent? Hit me up with a Github issue.