Namespace \PlusBusinessSoftware\King
Bestand: Plus_King_Base.php
/**
* Should registrations be manually approved?
*
* @filter plus_king_contactpersoon_is_manual_registration_active
* @param bool $manual_registration Wether or not accounts need to be manually approved.
* @return bool Wether or not accounts need to be manually approved.
*/
$manual_registration = apply_filters( 'plus_king_contactpersoon_is_manual_registration_active', $manual_registration );
/**
* Allow prospect properties to be overridden.
*
* @filter plus_prospect_json_filter_[$deb_property_name]
* @param mixed $prop_value The value to be set for the property.
* @param string $deb_property_name The name of the property.
* @param object $prospect A WC_Customer or WC_Order object.
* @param string $prospect_type The prospect type 'customer' or 'order'.
* @return mixed The value to be set for the property.
*/
$debiteur->$deb_property_name = apply_filters( 'plus_prospect_json_filter_' . $deb_property_name, $prop_value, $deb_property_name, $prospect, $prospect_type );
/**
* Allow overriding of orderkorting value
*
* @filter plus_customer_orderkorting
* @param int $orderkorting The discount percentage for the logged in user
* @param int $user_id The ID of the logged in user
* @return int The discount percentage for the logged in user
*/
$orderkorting = apply_filters( 'plus_customer_orderkorting', $orderkorting, $user_id );