/** * Check if customers are allowed to cancel subscriptions * * @access public * @return bool */ public function allow_customer_subscription_cancelling() { if (Subscriptio::option('customer_cancelling_allowed') && apply_filters('subscriptio_allow_subscription_cancelling', true)) { return true; } return false; }