Ok, have implemented the following triggers. This is still pending review. Once reviewed and merged we'll release a new CBSubs build release. From there you can use these triggers to modify the create, update, delete, and send flow of family shares to whatever you need. Any one of these processes can be interrupted by using their OnBefore triggers and returning a false value.
Code:
$_PLUGINS->trigger( 'familyplans_onBeforeUpdateSharedSub', [ &$this, $old ] )
$_PLUGINS->trigger( 'familyplans_onBeforeCreateSharedSub', [ &$this ] )
$_PLUGINS->trigger( 'familyplans_onAfterUpdateSharedSub', [ $this, $old ] )
$_PLUGINS->trigger( 'familyplans_onAfterCreateSharedSub', [ $this ] )
$_PLUGINS->trigger( 'familyplans_onBeforeDeleteSharedSub', [ $this ] )
$_PLUGINS->trigger( 'familyplans_onAfterDeleteSharedSub', [ $this, $user, $subscription ] )
$_PLUGINS->trigger( 'familyplans_onBeforeSendSharedSub', [ $this, &$recipient, &$subject, &$message ] )
$_PLUGINS->trigger( 'familyplans_onAfterSendSharedSub', [ $this, $recipient, $subject, $message ] )
These are in addition to the triggers already available in the family plans plugin.
An example of how you'd use these is with familyplans_onBeforeCreateSharedSub you could create a user, add them to $this, and it should automatically accept immediately.