autoship_set_global_sync_active_enabled (action)
(src/productions.php) Can be used to add additional content when the global sync option is enabled. It takes the $option ('yes' or 'no') as a parameter.
Code
// Fire action that the global was changed so upgrade notice can be removed. do_action( 'autoship_set_global_sync_active_enabled', $option );
Used in the functions